·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->FreeBSD man pages -> fabs (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

## FABS(3)

```
```

### 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.
```

```     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