Query: lround
OS: hpux
Section: 3m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
lround(3M) lround(3M)NAMElround(), lroundf(), lroundl(), lroundw(), lroundq() - round to long int functionsSYNOPSISHP Integrity Server OnlyDESCRIPTIONrounds its argument to the nearest integral value. 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 is equivalent to except that it rounds to instead of Integrity Server Only is a version of it takes a argument. is a version of it takes a argument. is an version of it takes an argument. 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. 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 the rounded value is outside the range of the numeric result is the maximum or minimum value and the invalid floating-point exception is raised. On Integrity servers, if the rounded value is outside the range of the numeric result is the minimum value. When raises no other floating-point exception and the result differs from the argument, the function may raise the inexact floating-point exception.ERRORSNo errors are defined.SEE ALSOceil(3M), floor(3M), fabs(3M), fmod(3M), fegetround(3M), fesetround(3M), lrint(3M), llrint(3M), llround(3M), rint(3M), round(3M), trunc(3M), math(5), fenv(5).STANDARDS CONFORMANCE: ISO/IEC C99 (including Annex F, ``IEC 60559 floating-point arithmetic'') lround(3M)
Related Man Pages |
---|
dremf(3m) - hpux |
nearbyintf(3m) - hpux |
rint(3m) - hpux |
rintf(3m) - hpux |
rintw(3m) - hpux |
Similar Topics in the Unix Linux Community |
---|
Solaris 9 lroundf errors |