1*61285Sbostic.\" Copyright (c) 1991, 1993 2*61285Sbostic.\" The Regents of the University of California. All rights reserved. 348920Scael.\" 448920Scael.\" %sccs.include.redist.man% 548920Scael.\" 6*61285Sbostic.\" @(#)ceil.3 8.1 (Berkeley) 06/04/93 748920Scael.\" 848920Scael.Dd 948920Scael.Dt CEIL 3 1048920Scael.Os 1148920Scael.Sh NAME 1248920Scael.Nm ceil 1348920Scael.Nd smallest integral value not greater than x 1448920Scael.Sh SYNOPSIS 1548920Scael.Fd #include <math.h> 1648920Scael.Ft double 1748920Scael.Fn ceil "double x" 1848920Scael.Sh DESCRIPTION 1948920ScaelThe 2048920Scael.Fn ceil 2148920Scaelfunction computes the smallest integral value not less than 2248920Scael.Fa x . 2348920Scael.Sh RETURN VALUES 2448920ScaelThe 2548920Scael.Fn ceil 2648920Scaelfunction returns the smallest integral value 2748920Scaelexpressed as a double. 2848920Scael.Sh SEE ALSO 2948920Scael.Xr abs 3 , 3048920Scael.Xr fabs 3 , 3148920Scael.Xr floor 3 , 3248920Scael.Xr rint 3 , 3348920Scael.Xr ieee 3 , 3448920Scael.Xr math.3 3548920Scael.Sh STANDARDS 3648920ScaelThe 3748920Scael.Fn ceil 3848920Scaelfunction conforms to 3948920Scael.St -ansiC . 40