modf(3M)modf(3M)NAMEmodf(), modff(), modfl(), modfw(), modfq() - decompose floating-point
number
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
The function breaks the argument x into integral and fractional parts,
each of which has the same sign as the argument. It stores the inte‐
gral part as a in the object pointed to by iptr.
Integrity Server Only
is a version of it takes and arguments and returns a result.
is a version of it takes and arguments and returns a result.
is an version of it takes and arguments and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use (for Integrity servers) compile either with the default option
or with the option.
To use (for Integrity servers) compile either with the default option
or with the and options.
To use (for Integrity servers) or compile also with the option.
To use these functions, make sure your program includes and link in the
math library by specifying on the compiler or linker command line.
For more information, see the at the following site:
RETURN VALUE
returns a result with the same sign as x.
in the object pointed to by iptr.
stores a NaN in the object pointed to by iptr and returns a NaN.
ERRORS
No errors are defined.
SEE ALSOfrexp(3M), ldexp(3M), rint(3M), trunc(3M), scalb(3M), scalbln(3M),
scalbn(3M), math(5).
STANDARDS CONFORMANCE
: SVID3, XPG4.2, ANSI C, ISO/IEC C99 (including Annex F, ``IEC 60559
floating-point arithmetic'')
: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arith‐
metic'')
modf(3M)