Namespace for Intel DFP decimal floating‐point implementation helpers.

Synopsis

Declared in <bdldfp_decimalimputil_inteldfp.h>

struct DecimalImpUtil_IntelDfp;

Description

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.

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

Convert a BID‐encoded decimal value to Densely Packed Decimal format.

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 integer.

int32ToDecimal32

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

int32ToDecimal64

Return a 64‐bit decimal representation of the specified 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 raw ValueType32 from a significand and exponent.

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 the 128‐bit decimal value closest to an unsigned 64‐bit integer.

uint64ToDecimal32

Return the 32‐bit decimal value closest to an unsigned 64‐bit integer.

uint64ToDecimal64

Return the 64‐bit decimal value closest to an unsigned 64‐bit integer.

Created with MrDocs