*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> ceil (3)              
Title
Content
Arch
Section
 

CEIL(3)

Contents


NAME    [Toc]    [Back]

     ceil, ceilf -- smallest integral value greater than or equal to x

LIBRARY    [Toc]    [Back]

     Math Library (libm, -lm)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     ceil(double x);

     float
     ceilf(float x);

DESCRIPTION    [Toc]    [Back]

     The ceil() and the ceilf() functions return the smallest integral value
     greater than or equal to x, expressed as a floating-point number.

SEE ALSO    [Toc]    [Back]

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

STANDARDS    [Toc]    [Back]

     The ceil() function conforms to ISO/IEC 9899:1990 (``ISO C89'').


FreeBSD 5.2.1			March 10, 1994			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ceil NetBSD round to smallest integral value greater than or equal to x
ceilf NetBSD round to smallest integral value greater than or equal to x
ceilf OpenBSD round to smallest integral value greater than or equal to x
ceil OpenBSD round to smallest integral value greater than or equal to x
ceiling IRIX Returns the least integer greater than or equal to its argument
floorf FreeBSD largest integral value less than or equal to x
floor FreeBSD largest integral value less than or equal to x
floor OpenBSD round to largest integral value not greater than x
floorf OpenBSD round to largest integral value not greater than x
floorf NetBSD round to largest integral value not greater than x
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service