BloombergLP::bdldfp::DecimalUtil::fmod

fmod overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the related overload above for fmod.

static
Decimal128
fmod(
    Decimal128 x,
    Decimal128 y);
» more...

Return the remainder of x divided by y.

static
Decimal32
fmod(
    Decimal32 x,
    Decimal32 y);
» more...

Same as the related overload above for fmod.

static
Decimal64
fmod(
    Decimal64 x,
    Decimal64 y);
» more...

Return Value

remainder of x divided by y

Parameters

NameDescription
xdividend
ydivisor