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.
modf, _modfl
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The modf function breaks down the floating-point value <x> into
     fractional and integer parts, each of which has the same sign as
     <x>. The signed fractional portion of <x> is returned. The integer
     portion is stored as a floating-point value at <intptr>.
 
     The _modfl function uses an 80-bit long double form of arguments
     and return values. In all other respects, it is identical to the
     regular function.
 
     Return Value
 
     The modf and _modfl functions return the signed fractional portion
     of <x>. There is no error return.
                                    -♦-