xref: /csrg-svn/lib/libm/common_source/ceil.3 (revision 48920)
1*48920Scael.\" Copyright (c) 1991 The Regents of the University of California.
2*48920Scael.\" All rights reserved.
3*48920Scael.\"
4*48920Scael.\" %sccs.include.redist.man%
5*48920Scael.\"
6*48920Scael.\"     @(#)ceil.3	5.1 (Berkeley) 05/02/91
7*48920Scael.\"
8*48920Scael.Dd
9*48920Scael.Dt CEIL 3
10*48920Scael.Os
11*48920Scael.Sh NAME
12*48920Scael.Nm ceil
13*48920Scael.Nd smallest integral value not greater than x
14*48920Scael.Sh SYNOPSIS
15*48920Scael.Fd #include <math.h>
16*48920Scael.Ft double
17*48920Scael.Fn ceil "double x"
18*48920Scael.Sh DESCRIPTION
19*48920ScaelThe
20*48920Scael.Fn ceil
21*48920Scaelfunction computes the smallest integral value not less than
22*48920Scael.Fa x .
23*48920Scael.Sh RETURN VALUES
24*48920ScaelThe
25*48920Scael.Fn ceil
26*48920Scaelfunction returns the smallest integral value
27*48920Scaelexpressed as a double.
28*48920Scael.Sh SEE ALSO
29*48920Scael.Xr abs 3 ,
30*48920Scael.Xr fabs 3 ,
31*48920Scael.Xr floor 3 ,
32*48920Scael.Xr rint 3 ,
33*48920Scael.Xr ieee 3 ,
34*48920Scael.Xr math.3
35*48920Scael.Sh STANDARDS
36*48920ScaelThe
37*48920Scael.Fn ceil
38*48920Scaelfunction conforms to
39*48920Scael.St -ansiC .
40