User Tools

Site Tools


solaris:cabs.3m

cabs


NAME

cabs, cabsf, cabsl - return a complex absolute value

SYNOPSIS

c99 [ flag… ] file-lm [ library… ]
#include <complex.h>

double cabs(double complex z);

float cabsf(float complex z);

long double cabsl(long double complex z);

DESCRIPTION

These functions compute the complex absolute value (also called norm, modulus, or magnitude) of z.

RETURN VALUES

These functions return the complex absolute value.

ERRORS

No errors are defined.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

complex.h(3HEAD), attributes(7), standards(7)


solaris/cabs.3m.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in