Copyright (C) 2000-2012 |
Manpages TRUNCSection: Linux Programmer's Manual (3 )Updated: 2001-05-31 Index Return to Main Contents NAMEtrunc, truncf, truncl - round to interger, towards zeroSYNOPSIS#include <math.h> double trunc(double x); DESCRIPTIONThese functions round x to the nearest integer not larger in absolute value.RETURN VALUEThe rounded integer value. If x is integral, infinite or NaN, x itself is returned.ERRORSNone.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: 13:09:33 GMT, March 29, 2024 |