Query: roundw
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
round(3M) round(3M)NAMEround(), roundf(), roundl(), roundw(), roundq() - round functionsSYNOPSISHP Integrity Server OnlyDESCRIPTIONThe function rounds its argument to the nearest integral value in floating-point format. An argument exactly halfway between two integers is rounded away from zero, regardless of the current rounding direction. Rounding away from zero also applies to the functions, and Integrity Server Only is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a result. is an version of it takes an argument and returns an result. is equivalent to on HP-UX systems.USAGETo use these functions, 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 Link in the math library by specifying on the compiler or linker command line. For more information, see the at the following site:RETURN VALUEIf x is returns x. If x is NaN, returns NaN. may raise the inexact exception if x is non integral and finite.ERRORSNo errors are defined.SEE ALSOceil(3M), floor(3M), fabs(3M), fmod(3M), fegetround(3M), fesetround(3M), lrint(3M), llrint(3M), lround(3M), llround(3M), rint(3M), trunc(3M), math(5), fenv(5).STANDARDS CONFORMANCE: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') round(3M)
Related Man Pages |
---|
nearbyint(3m) - hpux |
nearbyintq(3m) - hpux |
rint(3m) - hpux |
rintf(3m) - hpux |
rintw(3m) - hpux |
Similar Topics in the Unix Linux Community |
---|
Rounding scientific notation |
Rounding up to nearest whole number |
Rounding off a decimal |