81 double hypot(
double x,
double y)
83 double a = x, b = y, t1, t2, y1, y2, w;
84 uint32_t j, k, ha, hb, hx, hy;
109 if ((ha - hb) > 0x3C00000)
120 if (ha >= 0x7FF00000)
127 if (((ha & 0xFFFFF) | la) == 0)
132 if (((hb ^ 0x7FF00000) | lb) == 0)
152 if (hb <= 0x000FFFFF)
185 w =
sqrt(t1 * t1 - (b * (-b) - t2 * (a + t1))
);
196 w =
sqrt(t1 * y1 - (w * (-w) - (t1 * y2 + t2 * b))
);
double sqrt(double x)
Square root function.
#define GET_HIGH_WORD(i, d)
Get the more significant 32 bit int from a double.
double hypot(double x, double y)
hypot
#define GET_LOW_WORD(i, d)
Get the less significant 32 bit int from a double.
#define SET_HIGH_WORD(d, v)
Set the more significant 32 bits of a double from an int.