CEILING(3I) Last changed: 1-6-98
CEILING - Returns the least integer greater than or equal to its
argument
CEILING ([A=]a)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
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.
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.
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.
CEILING(3.7) has the value 4. CEILING(-3.7) has the value -3.
CF90 Commands and Directives Reference Manual, publication SR-3901
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
CEILING(3I) Last changed: 1-6-98
CEILING - Returns the least integer greater than or equal to its
argument
CEILING ([A=]a)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
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.
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.
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.
CEILING(3.7) has the value 4. CEILING(-3.7) has the value -3.
CF90 Commands and Directives Reference Manual, publication SR-3901
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|