[#BloombergLP-bdldfp-DecimalConvertUtil_IntelDfp] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::DecimalConvertUtil_IntelDfp :relfileprefix: ../../ :mrdocs: This `struct` provides a namespace for utility functions that convert between the decimal floating‐point types of `bdldfp_decimal` and various other formats. == Synopsis Declared in `<bdldfp_decimalconvertutil_inteldfp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct DecimalConvertUtil_IntelDfp; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal128FromBID.adoc[`decimal128FromBID`] | Return the native implementation representation of the value of the same size base‐10 floating‐point value stored in Binary Integer Decimal format at the specified `buffer` address. The behavior is undefined unless `buffer` points to a memory area at least `sizeof(decimal)` in size containing a value in BID format. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal128FromDPD.adoc[`decimal128FromDPD`] | Return the native implementation representation of the value of the same size base‐10 floating‐point value stored in Densely Packed Decimal format at the specified `buffer` address. The behavior is undefined unless `buffer` points to a memory area at least `sizeof(decimal)` in size containing a value in DPD format. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal128ToBID.adoc[`decimal128ToBID`] | DEPRECATED: Use `decimalToBID` instead. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal128ToDPD.adoc[`decimal128ToDPD`] | Same as the related overload above for `decimal128ToDPD`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal128ToDouble.adoc[`decimal128ToDouble`] | Same as the related overload above for `decimal128ToDouble`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal128ToFloat.adoc[`decimal128ToFloat`] | Same as the related overload above for `decimal128ToFloat`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal32FromBID.adoc[`decimal32FromBID`] | Same as the related overload above for `decimal32FromBID`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal32FromDPD.adoc[`decimal32FromDPD`] | Same as the related overload above for `decimal32FromDPD`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal32ToBID.adoc[`decimal32ToBID`] | DEPRECATED: Use `decimalToBID` instead. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal32ToDPD.adoc[`decimal32ToDPD`] | DEPRECATED: Use `decimalToDPD` instead. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal32ToDouble.adoc[`decimal32ToDouble`] | Same as the related overload above for `decimal32ToDouble`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal32ToFloat.adoc[`decimal32ToFloat`] | DEPRECATED: Use `decimalToFloat` instead. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal64FromBID.adoc[`decimal64FromBID`] | Same as the related overload above for `decimal64FromBID`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal64FromDPD.adoc[`decimal64FromDPD`] | DEPRECATED: Use `decimalFromDPD` instead. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal64ToBID.adoc[`decimal64ToBID`] | Same as the related overload above for `decimal64ToBID`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal64ToDPD.adoc[`decimal64ToDPD`] | Same as the related overload above for `decimal64ToDPD`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal64ToDouble.adoc[`decimal64ToDouble`] | Same as the related overload above for `decimal64ToDouble`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimal64ToFloat.adoc[`decimal64ToFloat`] | Return a `float` having the value closest to the specified `decimal`. | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalFromBID-09.adoc[`decimalFromBID`] | `decimalFromBID` overloads | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalFromDPD-06.adoc[`decimalFromDPD`] | `decimalFromDPD` overloads | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToBID-00.adoc[`decimalToBID`] | `decimalToBID` overloads | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToDPD-00.adoc[`decimalToDPD`] | `decimalToDPD` overloads | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToDouble-07.adoc[`decimalToDouble`] | `decimalToDouble` overloads | xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp/decimalToFloat-06.adoc[`decimalToFloat`] | `decimalToFloat` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#