1cabs(3M)                Mathematical Library Functions                cabs(3M)
2
3
4

NAME

6       cabs, cabsf, cabsl - return a complex absolute value
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <complex.h>
11
12       double cabs(double complex z);
13
14
15       float cabsf(float complex z);
16
17
18       long double cabsl(long double complex z);
19
20

DESCRIPTION

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

RETURN VALUES

26       These functions return the complex absolute value.
27

ERRORS

29       No errors are defined.
30

ATTRIBUTES

32       See attributes(5) for descriptions of the following attributes:
33
34
35
36
37       ┌─────────────────────────────┬─────────────────────────────┐
38       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │Interface Stability          │Standard                     │
41       ├─────────────────────────────┼─────────────────────────────┤
42       │MT-Level                     │MT-Safe                      │
43       └─────────────────────────────┴─────────────────────────────┘
44

SEE ALSO

46       complex.h(3HEAD), attributes(5), standards(5)
47
48
49
50SunOS 5.11                        12 Jul 2006                         cabs(3M)
Impressum