Lines Matching refs:x
26 M_DECL_FUNC (__catan) (CFLOAT x) in M_DECL_FUNC()
29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
36 __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x); in M_DECL_FUNC()
37 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC()
42 __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x); in M_DECL_FUNC()
45 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC()
50 __imag__ res = M_COPYSIGN (0, __imag__ x); in M_DECL_FUNC()
60 res = x; in M_DECL_FUNC()
64 if (M_FABS (__real__ x) >= 16 / M_EPSILON in M_DECL_FUNC()
65 || M_FABS (__imag__ x) >= 16 / M_EPSILON) in M_DECL_FUNC()
67 __real__ res = M_COPYSIGN (M_MLIT (M_PI_2), __real__ x); in M_DECL_FUNC()
68 if (M_FABS (__real__ x) <= 1) in M_DECL_FUNC()
69 __imag__ res = 1 / __imag__ x; in M_DECL_FUNC()
70 else if (M_FABS (__imag__ x) <= 1) in M_DECL_FUNC()
71 __imag__ res = __imag__ x / __real__ x / __real__ x; in M_DECL_FUNC()
74 FLOAT h = M_HYPOT (__real__ x / 2, __imag__ x / 2); in M_DECL_FUNC()
75 __imag__ res = __imag__ x / h / h / 4; in M_DECL_FUNC()
82 absx = M_FABS (__real__ x); in M_DECL_FUNC()
83 absy = M_FABS (__imag__ x); in M_DECL_FUNC()
104 __real__ res = M_LIT (0.5) * M_ATAN2 (2 * __real__ x, den); in M_DECL_FUNC()
106 if (M_FABS (__imag__ x) == 1 in M_DECL_FUNC()
107 && M_FABS (__real__ x) < M_EPSILON * M_EPSILON) in M_DECL_FUNC()
108 __imag__ res = (M_COPYSIGN (M_LIT (0.5), __imag__ x) in M_DECL_FUNC()
110 - M_LOG (M_FABS (__real__ x)))); in M_DECL_FUNC()
115 if (M_FABS (__real__ x) >= M_EPSILON * M_EPSILON) in M_DECL_FUNC()
116 r2 = __real__ x * __real__ x; in M_DECL_FUNC()
118 num = __imag__ x + 1; in M_DECL_FUNC()
121 den = __imag__ x - 1; in M_DECL_FUNC()
129 num = 4 * __imag__ x; in M_DECL_FUNC()