This struct provides a namespace for implementation functions that work in terms of the underlying C‐style decimal floating point implementation, Intel's DFP library.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

struct DecimalImpUtil_IntelDfp;

Types

Name

Description

ValueType128

128‐bit raw decimal storage type.

ValueType32

32‐bit raw decimal storage type.

ValueType64

Raw 64‐bit decimal storage type.

Enums

Name

Description

Unnamed enum

Status flags for decimal numeric operations.

Static Member Functions

Name

Description

add

add overloads

binaryToDecimal128

binaryToDecimal128 overloads

binaryToDecimal32

binaryToDecimal32 overloads

binaryToDecimal64

binaryToDecimal64 overloads

convertBIDtoDPD

convertBIDtoDPD overloads

convertDPDtoBID

convertDPDtoBID overloads

convertFromBID

convertFromBID overloads

convertToBID

convertToBID overloads

convertToDecimal128

convertToDecimal128 overloads

convertToDecimal32

convertToDecimal32 overloads

convertToDecimal64

convertToDecimal64 overloads

divide

divide overloads

equal

equal overloads

greater

greater overloads

greaterEqual

greaterEqual overloads

int32ToDecimal128

Return a 128‐bit decimal representation of the specified signed integer.

int32ToDecimal32

Return a 32‐bit decimal representation of the specified integer.

int32ToDecimal64

Return a 64‐bit decimal representation of the specified unsigned integer.

int64ToDecimal128

Return a 128‐bit decimal representation of the specified 64‐bit integer.

int64ToDecimal32

Return a 32‐bit decimal representation of the specified 64‐bit integer.

int64ToDecimal64

Return a 64‐bit decimal representation of the specified 64‐bit integer.

less

less overloads

lessEqual

lessEqual overloads

makeDecimalRaw128

makeDecimalRaw128 overloads

makeDecimalRaw32

Create a ValueType32 object representing a decimal floating point number consisting of the specified significand and exponent, with the sign given by significand. The behavior is undefined unless abs(significand) <= 9,999,999 and ‐101 <= exponent <= 90.

makeDecimalRaw64

makeDecimalRaw64 overloads

multiply

multiply overloads

negate

negate overloads

notEqual

notEqual overloads

parse128

parse128 overloads

parse32

parse32 overloads

parse64

parse64 overloads

scaleB

scaleB overloads

subtract

subtract overloads

uint32ToDecimal128

Return a 128‐bit decimal representation of the specified unsigned integer.

uint32ToDecimal32

Return a 32‐bit decimal representation of the specified unsigned integer.

uint32ToDecimal64

Return a 64‐bit decimal representation of the specified unsigned integer.

uint64ToDecimal128

Return a Decimal128 object having the value closest to the specified value subject to the conversion rules as defined by IEEE‐754:

uint64ToDecimal32

Return a Decimal32 object having the value closest to the specified value following the conversion rules as defined by IEEE‐754:

uint64ToDecimal64

Return a Decimal64 object having the value closest to the specified value following the conversion rules as defined by IEEE‐754:

Created with MrDocs