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

  man pages->OpenBSD man pages -> ceilf (3)              
Title
Content
Arch
Section
 

CEIL(3)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     ceil(double x);

     float
     ceilf(float x);

DESCRIPTION    [Toc]    [Back]

     The  ceil()  function  returns  the  smallest integral value
greater than or
     equal to x.  The ceilf() function is a single precision version of
     ceil().

SEE ALSO    [Toc]    [Back]

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

STANDARDS    [Toc]    [Back]

     The  ceil()  function  conforms  to ANSI X3.159-1989 (``ANSI
C'').

OpenBSD     3.6                          March      10,      1994
[ Back ]
 Similar pages
Name OS Title
ceilf FreeBSD smallest integral value greater than or equal to x
ceil FreeBSD smallest integral value greater than or equal to x
floor NetBSD round to largest integral value not greater than 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
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 Linux largest integral value not greater than argument
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service