BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimalToFloat

Same as the related overload above for decimalToFloat.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
float
decimalToFloat(Decimal128 decimal);

Return Value

closest float representation of decimal

Parameters

NameDescription
decimalvalue to convert