unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

FLOOR(3M)                                                            FLOOR(3M)



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

SYNOPSIS
       #include <&lt;math.h>&gt;

       double floor(x)
       double x;

       double ceil(x)
       double x;

       double fabs(x)
       double x;

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.

SEE ALSO
       abs(3)



                                19 January 1983                      FLOOR(3M)