man.bsd.lv manual page server

Manual Page Search Parameters

CEIL(3) Library Functions Manual CEIL(3)

ceilsmallest integral value not greater than x

#include <math.h>

double
ceil(double x);

The () function computes the smallest integral value not less than x.

The ceil() function returns the smallest integral value expressed as a double.

abs(3), fabs(3), floor(3), rint(3), ieee(3), math.3

The ceil() function conforms to ANSI X3.159-1989 (“ANSI C89”).

4.4BSD-Lite2 June 4, 1993 CEIL(3)