summaryrefslogtreecommitdiff
path: root/src/complex/cabs.c
blob: 5600154d14545a4a0682e986aeeafb710782e4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#if 0

# define TGSOURCE "complex/cabs.c"
#include <complex.h>
#include <math.h>
#include "_tgmath.h"

TYPE TGFN(cabs)(TYPE complex z)
{
	return TGFN(hypot)(TGFN(creal)(z), TGFN(cimag)(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)
*/


#endif