Copyright (C) 2000-2012 |
Manpages LROUNDSection: Linux Programmer's Manual (3 )Updated: 2001-05-31 Index Return to Main Contents NAMElround, lroundf, lroundl, llround, llroundf, llroundl - round to nearest integer, away from zeroSYNOPSIS#include <math.h> long int lround(double x); DESCRIPTIONThese functions round their argument to the nearest integer value, rounding away from zero, regardless of the current rounding direction. If x is infinite or NaN, or if the rounded value is outside the range of the return type, the numeric result is unspecified. A domain error may occur if the magnitude of x is too large.RETURN VALUEThe rounded integer value.ERRORS
CONFORMING TOC99.SEE ALSOceil(3), floor(3), lrint(3), nearbyint(3), rint(3), round(3)
IndexThis document was created by man2html, using the manual pages. Time: 10:00:42 GMT, March 28, 2024 |