Copyright (C) 2000-2012 |
Manpages LRINTSection: Linux Programmer's Manual (3 )Updated: 2001-05-31 Index Return to Main Contents NAMElrint, lrintf, lrintl, llrint, llrintf, llrintl - round to nearest integerSYNOPSIS#include <math.h> long int lrint(double x); DESCRIPTIONThese functions round their argument to the nearest integer value, using 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), lround(3), nearbyint(3), rint(3), round(3)
IndexThis document was created by man2html, using the manual pages. Time: 22:17:00 GMT, April 25, 2024 |