C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.
                                    -♦-