*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> fabs (3)              
Title
Content
Arch
Section
 

FABS(3)

Contents


NAME    [Toc]    [Back]

     fabs, fabsf - floating-point absolute value function

LIBRARY    [Toc]    [Back]

     Math Library (libm, -lm)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     fabs(double x);

     float
     fabsf(float x);

DESCRIPTION    [Toc]    [Back]

     The fabs() and fabsf() functions compute the absolute value of a floating-point
 number x.

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     abs(3), ceil(3), floor(3), ieee(3), math(3), rint(3)

STANDARDS    [Toc]    [Back]

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

BSD                               May 2, 1991                              BSD
[ Back ]
 Similar pages
Name OS Title
fabsf FreeBSD floating-point absolute value functions
fabsf OpenBSD floating-point absolute value functions
fabs Linux absolute value of floating-point number
fabs OpenBSD floating-point absolute value functions
fabs FreeBSD floating-point absolute value functions
fmodf NetBSD floating-point remainder function
drem Linux floating-point remainder function
fmod Linux floating-point remainder function
fmod NetBSD floating-point remainder function
fpgetmask IRIX floating-point units
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service