Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

_abs(3) Guardian Native C Library Calls Reference Manual
NAME
_abs - Expands absolute value of its argument
LIBRARY
None. This application program interface is implemented as a macro.
SYNOPSIS
#include <stdlib.h>
arith_type _abs (
arith_type expr );
PARAMETERS
arith_type Any arithmetic type can be specied.
expr Species an expression to be expanded to an absolute value.
DESCRIPTION
The _abs() macro evaluates to the absolute value of its argument.
The _abs() macro is equivalent to the abs() function, but executes faster.
RETURN VALUES
The _abs() macro evaluates to the absolute value of its argument.
RELATED INFORMATION
Functions: abs(3), _max(3), _min(3).
14 Hewlett-Packard Company 527192-005