◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The fmod function calculates the floating-point remainder <f> of <x>/<y> such that <x> = <i>*<y> + <f>, where <i> is an integer, <f> has the same sign as <x>, and the absolute value of <f> is less than the absolute value of <y>. The fmodl function uses the 80-bit long double form of arguments and return values. In all other respects, it is identical to the regular function. Return Value These functions return the floating-point remainder. If <y> is 0, the function returns 0. -♦-