[#BloombergLP-bdldfp-Decimal_Type64] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::Decimal_Type64 :relfileprefix: ../../ :mrdocs: This value‐semantic class implements the IEEE‐754 64 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_Type64; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/Decimal_Type64/2constructor-05.adoc[`Decimal_Type64`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdldfp/Decimal_Type64/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_Type64/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_Type64/data-01.adoc[`data`] | `data` overloads | xref:BloombergLP/bdldfp/Decimal_Type64/operator_star_eq-092.adoc[`operator*=`] | Multiplication assignment operators | xref:BloombergLP/bdldfp/Decimal_Type64/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_Type64/operator_plus_eq-09d.adoc[`operator+=`] | Addition assignment operators | xref:BloombergLP/bdldfp/Decimal_Type64/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_Type64/operator_minus_eq-06.adoc[`operator‐=`] | Subtraction assignment operators | xref:BloombergLP/bdldfp/Decimal_Type64/operator_slash_eq-06.adoc[`operator/=`] | Division assignment operators | xref:BloombergLP/bdldfp/Decimal_Type64/print.adoc[`print`] | Write the value of this object to the specified output `stream` in a human‐readable format, and return a reference to `stream`. Optionally specify an initial indentation `level`, whose absolute value is incremented recursively for nested objects. If `level` is specified, optionally specify `spacesPerLevel`, whose absolute value indicates the number of spaces per indentation level for this and all of its nested objects. If `level` is negative, suppress indentation of the first line. If `spacesPerLevel` is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by `level`). If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, and can change without notice. | xref:BloombergLP/bdldfp/Decimal_Type64/value.adoc[`value`] | Return the value of the underlying implementation. | xref:BloombergLP/bdldfp/Decimal_Type64/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<Decimal_Type64, is_trivially_copyable>`] | Declare the specified nested trait for this decimal type. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/Decimal_Type64/maxSupportedBdexVersion-05.adoc[`maxSupportedBdexVersion`] | `maxSupportedBdexVersion` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#