Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
cabsf(3) Guardian Native C Library Calls Reference Manual
NAME
cabsf - Computes the float complex absolute value
LIBRARY
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
SYNOPSIS
#include <complex.h>
float cabsf(
float complex z);
PARAMETERS
z Specifies a float complex value.
DESCRIPTION
The cabsf() function is a float complex version of the cabs() function; it takes a float complex
argument and returns a float complex result.
The cabsf() function computes the complex absolute value (also called norm, modulus, or mag-
nitude) of z.
NOTES
This function is implemented only for the IEEE_float floating-point option. Applications using
this function cannot be compiled if the specified floating-point option is Tandem_float.
RETURN VALUES
The cabsf() function returns the complex absolute value of its argument.
ERRORS
No errors are defined.
RELATED INFORMATION
Functions: cabs(3), cabsl(3), carg(3), fabs(3), hypot(3).
STANDARDS CONFORMANCE
This function conforms to the ISO/IEC 9899:1999 standard.
This function conforms to the IEEE Std 1003.1, 2004 Edition.
1−60 Hewlett-Packard Company 527192-018