freebsd man page for ceil

Query: ceil

OS: freebsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CEIL(3) 						   BSD Library Functions Manual 						   CEIL(3)

NAME
ceil, ceilf, ceill -- smallest integral value greater than or equal to x
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h> double ceil(double x); float ceilf(float x); long double ceill(long double x);
DESCRIPTION
The ceil(), ceilf() and ceill() functions return the smallest integral value greater than or equal to x, expressed as a floating-point num- ber.
SEE ALSO
abs(3), fabs(3), floor(3), ieee(3), math(3), rint(3), round(3), trunc(3)
STANDARDS
The ceil() function conforms to ISO/IEC 9899:1990 (``ISO C90''). The ceilf() and ceill() functions conform to ISO/IEC 9899:1999 (``ISO C99'').
BSD
January 13, 2005 BSD
Related Man Pages
ceill(3) - redhat
ceilf(3) - redhat
ceil(3) - osf1
rint(3) - osf1
ceil(3m) - opensolaris
Similar Topics in the Unix Linux Community
math.h: float ceilf(float x)
How to get the ceiling value for floating numbers?
CEILING and FLOOR functions
Ceil not working as function in awk statement
Rounding off a decimal