C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
fmod, _fmodl
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     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 functions return 0.
                                    -♦-