45 double x, y, r, t, scale;
91 x *= 1.8014398509481984e16;
92 y *= 1.8014398509481984e16;
93 scale = 7.450580596923828125e-9;
104 t =
sqrt(0.5 * r + 0.5 * x
);
105 r = scale *
fabs((0.5 * y) / t
);
110 r =
sqrt(0.5 * r - 0.5 * x
);
111 t = scale *
fabs((0.5 * y) / r
);
double sqrt(double x)
Square root function.
double creal(complex z)
Real part of complex number.
complex csqrt(complex z)
Square root of complex number.
double cabs(complex z)
Absolute value of complex number.
complex cpack(double x, double y)
Pack two real numbers into a complex number.
double cimag(complex z)
Imaginary part of complex number.
double fabs(double x)
Returns the absolute value of x.