FLOOR(3M) FLOOR(3M) NAME fabs, fmod, floor, ceil - absolute value, remainder, floor, ceiling functions SYNOPSIS #include <math.h> double floor(x) double x; double ceil(x) double x; double fabs(x) double x; double fmod(x,y) double x, y; DESCRIPTION Fabs returns the absolute value |x|. Floor returns the largest integer 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|. SEE ALSO arith(3), frexp(3)