summaryrefslogtreecommitdiff
path: root/src/complex/cabs.c
blob: 3e2d1ac82a4fc8dd2e2359eb344a4a4c47f5cc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# define TGSOURCE "../complex/cabs.c"
#include "_tgmath.h"

#include <complex.h>

TYPE TGFN(cabs)(TYPE complex z)
{
	return z;
}

/*d
The cabs functions compute the complex absolute value (also called norm, modulus, or
magnitude) of z.
d*/

/*r
The cabs functions return the complex absolute value.
r*/

/*
STDC(199901)
LINK(m)
*/