unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.4BSD-Lite2)
Page:
Section:
Apropos / Subsearch:
optional field

FABS(3)                     BSD Programmer's Manual                    FABS(3)

NAME
     fabs - floating-point absolute value function

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

     double
     fabs(double x);

DESCRIPTION
     The fabs() function computes the absolute value of a floating-point num-
     ber x.

RETURN VALUES
     The fabs() function returns the absolute value of x.

SEE ALSO
     abs(3),  ceil(3),  floor(3),  rint(3),  ieee(3),  math.3

STANDARDS
     The fabs() function conforms to ANSI C X3.159-1989 (``ANSI C '').

4.4BSD                           June 4, 1993                                1