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

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

FABS(3)

Contents


NAME    [Toc]    [Back]

     fabs, fabsf - floating-point absolute value functions

SYNOPSIS    [Toc]    [Back]

     #include <math.h>

     double
     fabs(double x);

     float
     fabsf(float x);

DESCRIPTION    [Toc]    [Back]

     The fabs() function computes the absolute value of a  floating-point number
  x.   The fabsf() function is a single precision version
of fabs().

RETURN VALUES    [Toc]    [Back]

     The fabs() and fabsf() 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 ANSI X3.159-1989 (``ANSI
C'').

OpenBSD      3.6                            May      2,      1991
[ 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