cabs(3M)cabs(3M)NAMEcabs(), cabsf(), cabsl(), cabsw(), cabsq() - complex absolute value
(also called norm, modulus, or magnitude) functions
SYNOPSISDESCRIPTION
These functions are available only for Integrity servers.
returns the complex absolute value of z.
is a version of it takes a argument and returns a result.
is a version of it takes a argument and returns a result.
is an version of it takes an argument and returns an result.
is equivalent to on HP-UX systems.
USAGE
To use these functions, compile with the default option. To use com‐
pile with the option. Make sure your program includes Link in the math
library by specifying on the compiler or linker command line.
RETURN VALUE
returns the same values and raises the same floating-point exceptions
as
If the compiler option is in effect, then may be computed with a faster
method that does not match the regular specification for infinite and
for extreme-magnitude extended and quad values. The HP C/C++ default
is The option implies
ERRORS
No errors are defined.
SEE ALSOfabs(3M), carg(3M), complex(5), hypot(3M).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex G, "IEC 60559-compatible complex arith‐
metic")
HP Integrity Server Only cabs(3M)