BloombergLP::bdldfp::Decimal_Type128

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

Synopsis

Declared in <bdldfp_decimal.h>

class Decimal_Type128;

Description

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

Member Functions

NameDescription
Decimal_Type128 [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_Type128, is_trivially_copyable> Declare that this type is trivially copyable.

Static Member Functions

NameDescription
maxSupportedBdexVersion maxSupportedBdexVersion overloads