blob: d8268c25301c4a91bc45bf579fc60365a1cee87a (
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
29
|
#if 0
# define TGSOURCE "complex/cabs.c"
#include <complex.h>
#include <math.h>
#include "_tgmath.h"
TYPE TGFN(cabs)(TYPE complex z)
{
SIGNAL_SAFE(0);
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
|