


      FLOOR(3M)                   (UNIX 5.0)                  FLOOR(3M)



      NAME
           floor, ceil, fmod, fabs - floor, ceiling, remainder,
           absolute value functions

      SYNTAX
           #include <math.h>

           double floor (x)
           double x;

           double ceil (x)
           double x;

           double fmod (x, y)
           double x, y;

           double fabs (x)
           double x;

      DESCRIPTION
           Floor returns the largest integer (as a double-precision
           number) not greater than x.

           Ceil returns the smallest integer not less than x.

           Fmod returns x if y is zero, otherwise the number f with the
           same sign as x, such that x = iy + f for some integer i, and
           |f| < |y|.

           Fabs returns |x|.

      SEE ALSO
           abs(3C).






















      Page 1                                         (73 A2 02MTA REV1)



