Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

_abs(3) OSS 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 specified.
expr Specifies 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 527187-017