Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
CEIL(3)		       FreeBSD 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 number.

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'').

FreeBSD	10.1		       January 13, 2005			  FreeBSD 10.1

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO | STANDARDS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ceill&sektion=3&manpath=FreeBSD+5.4-RELEASE>

home | help