summaryrefslogtreecommitdiff
path: root/src/complex/csqrt.c
blob: f3a735ca8a20bc8a2e2c8dc36e45c2ed28cfa576 (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
# define TGSOURCE "../complex/csqrt.c"
#include "_tgmath.h"

#include <complex.h>

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

/*d
The csqrt functions compute the complex square root of z, with a branch cut along the
negative real axis.
d*/

/*r
The csqrt functions return the complex square root value, in the range of the right half-
plane (including the imaginary axis).
r*/

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