remainder overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the related overload above for remainder.

Return the remainder of the division of the specified x by the specified y. The remainder of the division operation x/y calculated by this function is exactly the value x ‐ n*y, where n s the integral value nearest the exact value x/y. When |n ‐ x/y| == 0.5, the value n is chosen to be even. Note that in contrast to DecimalImpUtil::fmod(), the returned value is not guaranteed to have the same sign as x.

Same as the related overload above for remainder.

Created with MrDocs