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

  man pages->FreeBSD man pages -> fabsf (3)              
Title
Content
Arch
Section
 

FABS(3)

Contents


NAME    [Toc]    [Back]

     fabs, fabsf, fabsl -- floating-point absolute value functions

LIBRARY    [Toc]    [Back]

     Math Library (libm, -lm)

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     fabs(double x);

     float
     fabsf(float x);

     long double
     fabsl(long double x);

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]

     The fabs(), the fabsf() and the fabsl() functions return 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 ISO/IEC 9899:1990 (``ISO C89'').  The
     fabsf() and the fabsl() functions conform to ISO/IEC 9899:1999
     (``ISO C99'').


FreeBSD 5.2.1		       October 25, 2003 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
fabs Linux absolute value of floating-point number
fabsf NetBSD floating-point absolute value function
fabs NetBSD floating-point absolute value function
fmod FreeBSD floating-point remainder functions
fmod OpenBSD floating-point remainder functions
fmodf OpenBSD floating-point remainder functions
fmodf FreeBSD floating-point remainder functions
fenv HP-UX floating-point environment macros and functions
fpgetmask IRIX floating-point units
fmod Tru64 Compute the floating-point remainder
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service