fmodd64(3M)fmodd64(3M)NAMEfmodd64(), fmodd128(), fmodd32() - decimal remainder functions
SYNOPSISDESCRIPTION
The function determines the remainder (f) of the division of x by y,
where f has the same sign as x, such that x=iy+f for some integer i,
and |f| < |y|.
is a version of it takes arguments and returns a result.
is a version of it takes arguments 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
If y x returns x.
If x y is a nonzero number, returns x.
If y is 0, returns NaN and raises the invalid exception.
If x returns NaN and raises the invalid exception.
If x or y is NaN, returns NaN.
ERRORS
If x or y is 0, sets to
SEE ALSOfabsd64(3M), remainderd64(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 fmodd64(3M)