[#BloombergLP-bdldfp-Decimal_Type128] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::Decimal_Type128 :relfileprefix: ../../ :mrdocs: This value‐semantic class implements the IEEE‐754 128 bit decimal floating‐point format arithmetic type. This class is a standard layout type that is `const` thread‐safe and exception‐neutral. == Synopsis Declared in `<bdldfp_decimal.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Decimal_Type128; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/Decimal_Type128/2constructor-084.adoc[`Decimal_Type128`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdldfp/Decimal_Type128/bdexStreamIn.adoc[`bdexStreamIn`] | Assign to this object the value read from the specified input `stream` using the specified `version` format, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported, this object is unaltered and `stream` is invalidated, but otherwise unmodified. If `version` is supported but `stream` becomes invalid during this operation, this object has an undefined, but valid, state. Note that no version is read from `stream`. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. | xref:BloombergLP/bdldfp/Decimal_Type128/bdexStreamOut.adoc[`bdexStreamOut`] | Write the value of this object, using the specified `version` format, to the specified output `stream`, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported, `stream` is invalidated, but otherwise unmodified. Note that `version` is not written to `stream`. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. | xref:BloombergLP/bdldfp/Decimal_Type128/data-0d.adoc[`data`] | `data` overloads | xref:BloombergLP/bdldfp/Decimal_Type128/operator_star_eq-0a.adoc[`operator*=`] | Multiplication assignment operators | xref:BloombergLP/bdldfp/Decimal_Type128/operator_inc.adoc[`operator++`] | Add 1.0 to the value of this object and return a reference to it. Note that this is a floating‐point value so this operation may not change the value of this object at all (if the value is large) or it may just set it to 1.0 (if the original value is small). | xref:BloombergLP/bdldfp/Decimal_Type128/operator_plus_eq-07a.adoc[`operator+=`] | Addition assignment operators | xref:BloombergLP/bdldfp/Decimal_Type128/operator_dec.adoc[`operator‐‐`] | Add ‐1.0 to the value of this object and return a reference to it. Note that this is a floating‐point value so this operation may not change the value of this object at all (if the value is large) or it may just set it to ‐1.0 (if the original value is small). | xref:BloombergLP/bdldfp/Decimal_Type128/operator_minus_eq-09d.adoc[`operator‐=`] | Subtraction assignment operators | xref:BloombergLP/bdldfp/Decimal_Type128/operator_slash_eq-049.adoc[`operator/=`] | Division assignment operators | xref:BloombergLP/bdldfp/Decimal_Type128/value.adoc[`value`] | Return the value of the underlying implementation. | xref:BloombergLP/bdldfp/Decimal_Type128/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<Decimal_Type128, is_trivially_copyable>`] | Declare the specified nested trait for this decimal type. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/Decimal_Type128/maxSupportedBdexVersion-0b.adoc[`maxSupportedBdexVersion`] | `maxSupportedBdexVersion` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#