CEIL(3) NetBSD Programmer's Manual CEIL(3)Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.
NAME
ceil - round to smallest integral value greater than or equal
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h> double ceil(double x); float ceilf(float x);
DESCRIPTION
The ceil() and ceilf() functions return the smallest integral value greater than or equal to x.
SEE ALSO
abs(3), fabs(3), floor(3), ieee(3), rint(3), math(3)
STANDARDS
The ceil() function conforms to ANSI X3.159-1989 (``ANSI C''). NetBSD 1.4 March 10, 1994 1