BloombergLP::bdldfp::DecimalImpUtil::floor

Return the largest integral value not greater than x.

Synopses

Declared in <bdldfp_decimalimputil.h>

Return the largest integral value not greater than x.

static
DecimalImpUtil::ValueType128
floor(ValueType128 x);
» more...

Return the largest integral value not greater than x.

static
DecimalImpUtil::ValueType32
floor(ValueType32 x);
» more...

Return the largest integral value not greater than x.

static
DecimalImpUtil::ValueType64
floor(ValueType64 x);
» more...

Return Value

the largest integral value not greater than x

Parameters

NameDescription
xvalue to round toward -infinity