HP 3000 Manuals

floor [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation


HP C/iX Library Reference Manual

floor 

Computes the largest integer value that is less than or equal to its
argument.

Syntax 

     #include <math.h>
     double floor (double x);

Parameters 

x             A real number.

Return Values 

n             An integer value stored as a double.

Description 

The floor function returns the largest integer not greater than x.

See Also 

ANSI C 4.5.6.3, POSIX.1 8.1



MPE/iX 5.0 Documentation