unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-2.0)
Page:
Section:
Apropos / Subsearch:
optional field

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

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

LIBRARY
     Math Library (libm, -lm)

SYNOPSIS
     #include <&lt;math.h>&gt;

     double
     ceil(double x);

     float
     ceilf(float x);

DESCRIPTION
     The ceil() and ceilf() functions return the smallest integral value
     greater than or equal to x.

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

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

BSD                             March 10, 1994                             BSD