roundd64(3M)roundd64(3M)NAMEroundd64(), roundd128(), roundd32() - decimal round functions
SYNOPSISDESCRIPTION
The function rounds its argument to the nearest integral value (repre‐
sented as a number). An argument exactly halfway between two integers
is rounded away from zero. is independent of the rounding direction
mode.
is a version of it takes a argument and returns a result.
is a version of it takes a 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
If x is returns x.
If x is NaN, returns NaN.
ERRORS
No errors are defined.
SEE ALSOceild64(3M), floord64(3M), fmodd64(3M), llroundd64(3M), lroundd64(3M),
rintd64(3M), truncd64(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 roundd64(3M)