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>

struct DecimalConvertUtil_IntelDfp;

Static Member Functions

Name

Description

decimal128FromBID

Return the native value of the BID encoding at buffer.

decimal128FromDPD

Return the native value of the DPD encoding at buffer.

decimal128ToBID

DEPRECATED: Use decimalToBID instead.

decimal128ToDPD

Encode decimal into buffer in DPD format.

decimal128ToDouble

Return the closest double to the specified decimal.

decimal128ToFloat

Return a float having the value closest to the specified decimal.

decimal32FromBID

Return the decimal decoded from BID data at buffer.

decimal32FromDPD

Return the decimal decoded from DPD data at buffer.

decimal32ToBID

DEPRECATED: Use decimalToBID instead.

decimal32ToDPD

DEPRECATED: Use decimalToDPD instead.

decimal32ToDouble

Return the closest double to the specified decimal.

decimal32ToFloat

DEPRECATED: Use decimalToFloat instead.

decimal64FromBID

Return the decimal decoded from BID data at buffer.

decimal64FromDPD

DEPRECATED: Use decimalFromDPD instead.

decimal64ToBID

Encode decimal into buffer in BID format.

decimal64ToDPD

Encode decimal into buffer in DPD format.

decimal64ToDouble

Return the closest double to the specified decimal.

decimal64ToFloat

Return a float having the value closest to the specified decimal.

decimalFromBID

decimalFromBID overloads

decimalFromDPD

decimalFromDPD overloads

decimalToBID

decimalToBID overloads

decimalToDPD

decimalToDPD overloads

decimalToDouble

decimalToDouble overloads

decimalToFloat

decimalToFloat overloads

Created with MrDocs