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

Synopsis

Declared in <bdldfp_decimal.h>

class Decimal_Type32;

Description

These are the actual (decimal floating‐point) types being implemented. They use a different name to cause an error if the official types are forward declared: The exact definition of the decimal types is left unspecified so that that can potentially be aliases for built‐in types.

Member Functions

Name

Description

Decimal_Type32 [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

value

Return the value of the underlying implementation.

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

Declare that this type is trivially copyable.

Static Member Functions

Name

Description

maxSupportedBdexVersion

maxSupportedBdexVersion overloads

Created with MrDocs