This value‐semantic class implements the IEEE‐754 64 bit decimal floating‐point format arithmetic type.

Synopsis

Declared in <bdldfp_decimal.h>

class Decimal_Type64;

Description

This class is a standard layout type that is const thread‐safe and exception‐neutral.

Member Functions

Name

Description

Decimal_Type64 [constructor]

Constructors

bdexStreamIn

Assign to this object the value read from the specified input stream using the specified version format, and return a reference to stream.

bdexStreamOut

Write the value of this object, using the specified version format, to the specified output stream, and return a reference to stream.

data

data overloads

operator*=

Multiplication assignment operators

operator++

Add 1.0 to the value of this object and return a reference to it.

operator+=

Addition assignment operators

operator‐‐

Add ‐1.0 to the value of this object and return a reference to it.

operator‐=

Subtraction assignment operators

operator/=

Division assignment operators

print

Write the value of this object to the specified output stream in a human‐readable format, and return a reference to stream.

value

Return the value of the underlying implementation.

operator BloombergLP::bslmf::NestedTraitDeclaration<Decimal_Type64, is_trivially_copyable>

Declare that this type is trivially copyable.

Static Member Functions

Name

Description

maxSupportedBdexVersion

maxSupportedBdexVersion overloads

Created with MrDocs