ceiling(3I)
CEILING - Returns the least integer greater than or equal to its argument
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME CEILING - Returns the least integer greater than or equal to its argument SYNOPSIS CEILING ([A=]a) IMPLEMENTATION UNICOS, UNICOS/mk, and IRIX systems STANDARDS Fortran 90 DESCRIPTION The CEILING intrinsic function returns the least integer greater than or equal to its argument. It accepts the following argument: a Must be of type real CEILING is an elemental function. The name of this intrinsic cannot be passed as an argument. NOTES On UNICOS systems, both execution speed and the number of bits used in mathematical operations are affected when compiling with f90 -O fastint, which is the default setting. For more information on this, see the CF90 Commands and Directives Reference Manual, publication SR-3901. RETURN VALUES The result type is a default integer. The result has a value equal to the least integer greater than or equal to a. The result is undefined if the system cannot represent this value in the default integer type. EXAMPLES CEILING(3.7) has the value 4. CEILING(-3.7) has the value -3. SEE ALSO CF90 Commands and Directives Reference Manual, publication SR-3901 Intrinsic Procedures Reference Manual, publication SR-2138, for the printed version of this man page.