fabs

Absolute value (macro)

fabs (
        double x
)

Arguments

x Floating-point argument

Return Value

The absolute value of x is returned.

Explanation

The absolute value of the argument x is calculated and its value is returned.

Notes

fabs() is a macro.

See Also

abs(), labs()