123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .\
- .Dd January 13, 2005
- .Dt CEIL 3
- .Os
- .Sh NAME
- .Nm ceil ,
- .Nm ceilf ,
- .Nm ceill
- .Nd smallest integral value greater than or equal to x
- .Sh LIBRARY
- .Lb libm
- .Sh SYNOPSIS
- .In math.h
- .Ft double
- .Fn ceil "double x"
- .Ft float
- .Fn ceilf "float x"
- .Ft "long double"
- .Fn ceill "long double x"
- .Sh DESCRIPTION
- The
- .Fn ceil ,
- .Fn ceilf
- and
- .Fn ceill
- functions return the smallest integral value
- greater than or equal to
- .Fa x ,
- expressed as a floating-point number.
- .Sh SEE ALSO
- .Xr abs 3 ,
- .Xr fabs 3 ,
- .Xr floor 3 ,
- .Xr ieee 3 ,
- .Xr math 3 ,
- .Xr rint 3 ,
- .Xr round 3 ,
- .Xr trunc 3
- .Sh STANDARDS
- The
- .Fn ceil
- function conforms to
- .St -isoC .
- The
- .Fn ceilf
- and
- .Fn ceill
- functions conform to
- .St -isoC-99 .
|