FLOOR(3I) Last changed: 1-6-98
NAMEFLOOR - Returns the greatest integer less than or equal to its
argument
SYNOPSISFLOOR ([A=]a)
IMPLEMENTATION
UNICOS, UNICOS/mk, and IRIX systems
STANDARDS
Fortran 90
DESCRIPTION
The FLOOR intrinsic function returns the greatest integer less than or
equal to its argument. It accepts the following argument:
a Must be of type real
FLOOR 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 is a default integer. The result has value equal to the
greatest integer less than or equal to a. The result is undefined if
the target machine cannot represent this value in the default integer
type.
EXAMPLES
FLOOR(3.7) has the value 3. FLOOR(-3.7) has the value -4.
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.