[#BloombergLP-balber-BerUtil_FloatingPointImpUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerUtil_FloatingPointImpUtil :relfileprefix: ../../ :mrdocs: Utilities for BER floating‐point encoding and decoding. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BerUtil_FloatingPointImpUtil; ---- == Description This component‐private utility `struct` provides a namespace for a suite of functions used by `BerUtil` to implement BER encoding and decoding operations for floating point number values. Within the definition of this `struct`: * *the specification*: > Refers to the August 2015 revision of the ITU‐T Recommendation X.690 * *the floating point specification*: > Refers to the 2008 revision of the IEE 754 Standard for > Floating‐Point Arithemtic. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/IntegerUtil.adoc[`IntegerUtil`] | `IntegerUtil` is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for integer values. | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/LengthUtil.adoc[`LengthUtil`] | `LengthUtil` is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for length quantities. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/getDecimal64Value.adoc[`getDecimal64Value`] | Decode a BER‐encoded 64‐bit decimal value. | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/getDoubleValue.adoc[`getDoubleValue`] | Decode a BER real value into a `double`. | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/getFloatValue.adoc[`getFloatValue`] | Read the specified `length` number of bytes from the input sequence of the specified `streamBuf` and load to the specified `value` the interpretation of those. | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/putDecimal64Value.adoc[`putDecimal64Value`] | Encode a 64‐bit decimal as BER length and contents octets. | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/putDoubleValue.adoc[`putDoubleValue`] | Encode a `double` as BER length and contents octets. | xref:BloombergLP/balber/BerUtil_FloatingPointImpUtil/putFloatValue.adoc[`putFloatValue`] | Write the length and contents octets of the BER encoding of the specified real `value` (as defined in the specification) to the output sequence of the. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#