Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rintd128(3m) [hpux man page]

rintd64(3M)															       rintd64(3M)

NAME
rintd64(), rintd128(), rintd32() - decimal round to nearest integer functions SYNOPSIS
DESCRIPTION
returns the integer (represented as a number) nearest x according to the current (decimal) rounding direction mode. In the default rounding direction (round to nearest with ties to even), is the integer nearest x with the additional stipulation that if |-x|=1/2, then is even. If the current rounding direction is toward negative infinity, returns the same value as If the current rounding direction is toward posi- tive infinity, returns the same value as If the current rounding direction is toward zero, returns the same value as If the current round- ing direction is to nearest with ties awary from zero, returns the same value as differs from only in that raises the inexact exception if the result differs in value from the argument, while does not. 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. raises the inexact exception if the result differs in value from the argument. ERRORS
No errors are defined. SEE ALSO
ceild64(3M), fabsd64(3M), fe_dec_getround(3M), fe_dec_setround(3M), floord64(3M), fmodd64(3M), nearbyintd64(3M), llrintd64(3M), lrintd64(3M), roundd64(3M), truncd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only rintd64(3M)

Check Out this Related Man Page

nearbyintd64(3M)														  nearbyintd64(3M)

NAME
nearbyintd64(), nearbyintd128(), nearbyintd32() - decimal round to nearest integer functions SYNOPSIS
DESCRIPTION
returns the integer (represented as a number) nearest x according to the current (decimal) rounding direction mode. In the default rounding direction (round to nearest with ties to even), is the integer nearest x with the additional stipulation that if |-x|=1/2, then is even. If the current rounding direction is toward negative infinity, returns the same value as If the current rounding direction is toward posi- tive infinity, returns the same value as If the current rounding direction is toward zero, returns the same value as If the current round- ing direction is to nearest with ties awary from zero, returns the same value as differs from only in that raises the inexact exception if the result differs in value from the argument, while does not. is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. result. 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 ALSO
ceild64(3M), fabsd64(3M), fe_dec_getround(3M), fe_dec_setround(3M), floord64(3M), fmodd64(3M), rintd64(3M), roundd64(3M), truncd64(3M), math(5). STANDARDS CONFORMANCE
These functions conform to ISO/IEC TR 24732, "Extension for the programming language C to support decimal floating-point arithmetic". HP Integrity Server Only nearbyintd64(3M)
Man Page