modfd64(3M)modfd64(3M)NAMEmodfd64(), modfd128(), modfd32() - decompose decimal floating-point
numbers
SYNOPSISDESCRIPTION
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.
is a version of it takes a first argument and returns a result.
is a version of it takes a first argument and returns a result.
These math functions are supported for HP-UX 11i Version 3 September
2008 Update and forward.
USAGE
To use any of these functions, compile with the option.
Make sure your program defines and then includes
Link in the math library by specifying or on the linking 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.
returns NaN and stores NaN in the object pointed to by iptr.
ERRORS
No errors are defined.
SEE ALSOfrexpd64(3M), ldexpd64(3M), truncd64(3M), scalblnd64(3M),
scalbnd64(3M), math(5).
STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the pro‐
gramming language C to support decimal floating-point arithmetic".
HP Integrity Server Only modfd64(3M)