Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fabs(3M) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

isnan(3M)

attributes(5)

fabs(3M)

NAME

fabs − absolute value function

SYNOPSIS

cc [ flag ... ] file ... −lm [ library ... ]

#include <math.h>

double fabs(double x);

DESCRIPTION

The fabs() function computes the absolute value of x, |x|. 

RETURN VALUES

Upon successful completion, fabs() returns the absolute value of x.

If x is NaN, NaN is returned. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

isnan(3M), attributes(5)

SunOS 5.6  —  Last change: 29 Dec 1996

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026