Home
last modified time | relevance | path

Searched refs:pio2_hi (Results 1 – 19 of 19) sorted by relevance

/third_party/musl/src/math/
Datan2l.c47 case 2: return 2*pio2_hi; /* atan(+0,-anything) = pi */ in atan2l()
48 case 3: return -2*pio2_hi; /* atan(-0,-anything) =-pi */ in atan2l()
52 return m&1 ? -pio2_hi : pio2_hi; in atan2l()
56 case 0: return pio2_hi/2; /* atan(+INF,+INF) */ in atan2l()
57 case 1: return -pio2_hi/2; /* atan(-INF,+INF) */ in atan2l()
58 case 2: return 1.5*pio2_hi; /* atan(+INF,-INF) */ in atan2l()
59 case 3: return -1.5*pio2_hi; /* atan(-INF,-INF) */ in atan2l()
65 case 2: return 2*pio2_hi; /* atan(+...,-INF) */ in atan2l()
66 case 3: return -2*pio2_hi; /* atan(-...,-INF) */ in atan2l()
71 return m&1 ? -pio2_hi : pio2_hi; in atan2l()
[all …]
Dacosf.c19 pio2_hi = 1.5707962513e+00, /* 0x3fc90fda */ variable
45 return 2*pio2_hi + 0x1p-120f; in acosf()
53 return pio2_hi + 0x1p-120f; in acosf()
54 return pio2_hi - (x - (pio2_lo-x*R(x*x))); in acosf()
61 return 2*(pio2_hi - (s+w)); in acosf()
Dacos.c39 pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */ variable
75 return 2*pio2_hi + 0x1p-120f; in acos()
83 return pio2_hi + 0x1p-120f; in acos()
84 return pio2_hi - (x - (pio2_lo-x*R(x*x))); in acos()
91 return 2*(pio2_hi - (s+w)); in acos()
Dasin.c45 pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */ variable
80 return x*pio2_hi + 0x1p-120f; in asin()
95 x = pio2_hi-(2*(s+s*r)-pio2_lo); in asin()
102 x = 0.5*pio2_hi - (2*s*r - (pio2_lo-2*c) - (0.5*pio2_hi-2*f)); in asin()
Dacosl.c43 return 2*pio2_hi + 0x1p-120f; in acosl()
49 return pio2_hi + 0x1p-120f; in acosl()
50 return pio2_hi - (__invtrigl_R(x*x)*x - pio2_lo + x); in acosl()
56 return 2*(pio2_hi - (__invtrigl_R(z)*s - pio2_lo + s)); in acosl()
Dasinl.c44 return x*pio2_hi + 0x1p-120f; in asinl()
60 x = pio2_hi - (2*(s+s*r)-pio2_lo); in asinl()
67 x = 0.5*pio2_hi-(2*s*r - (pio2_lo-2*c) - (0.5*pio2_hi-2*f)); in asinl()
D__invtrigl.h4 #define pio2_hi __pio2_hi macro
6 hidden extern const long double pio2_hi, pio2_lo;
D__invtrigl.c19 const long double pio2_hi = 1.57079632679489661926L; variable
53 const long double pio2_hi = 1.57079632679489661923132169163975140L; variable
/third_party/musl/porting/liteos_a/kernel/src/math/
Datan2l.c47 case 2: return 2*pio2_hi; /* atan(+0,-anything) = pi */ in atan2l()
48 case 3: return -2*pio2_hi; /* atan(-0,-anything) =-pi */ in atan2l()
52 return m&1 ? -pio2_hi : pio2_hi; in atan2l()
56 case 0: return pio2_hi/2; /* atan(+INF,+INF) */ in atan2l()
57 case 1: return -pio2_hi/2; /* atan(-INF,+INF) */ in atan2l()
58 case 2: return 1.5*pio2_hi; /* atan(+INF,-INF) */ in atan2l()
59 case 3: return -1.5*pio2_hi; /* atan(-INF,-INF) */ in atan2l()
65 case 2: return 2*pio2_hi; /* atan(+...,-INF) */ in atan2l()
66 case 3: return -2*pio2_hi; /* atan(-...,-INF) */ in atan2l()
71 return m&1 ? -pio2_hi : pio2_hi; in atan2l()
[all …]
Dacosf.c19 pio2_hi = 1.5707962513e+00, /* 0x3fc90fda */ variable
45 return 2*pio2_hi + 0x1p-120f; in acosf()
53 return pio2_hi + 0x1p-120f; in acosf()
54 return pio2_hi - (x - (pio2_lo-x*R(x*x))); in acosf()
61 return 2*(pio2_hi - (s+w)); in acosf()
Dacos.c39 pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */ variable
75 return 2*pio2_hi + 0x1p-120f; in acos()
83 return pio2_hi + 0x1p-120f; in acos()
84 return pio2_hi - (x - (pio2_lo-x*R(x*x))); in acos()
91 return 2*(pio2_hi - (s+w)); in acos()
Dasin.c45 pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */ variable
80 return x*pio2_hi + 0x1p-120f; in asin()
95 x = pio2_hi-(2*(s+s*r)-pio2_lo); in asin()
102 x = 0.5*pio2_hi - (2*s*r - (pio2_lo-2*c) - (0.5*pio2_hi-2*f)); in asin()
Dacosl.c43 return 2*pio2_hi + 0x1p-120f; in acosl()
49 return pio2_hi + 0x1p-120f; in acosl()
50 return pio2_hi - (__invtrigl_R(x*x)*x - pio2_lo + x); in acosl()
56 return 2*(pio2_hi - (__invtrigl_R(z)*s - pio2_lo + s)); in acosl()
Dasinl.c44 return x*pio2_hi + 0x1p-120f; in asinl()
60 x = pio2_hi - (2*(s+s*r)-pio2_lo); in asinl()
67 x = 0.5*pio2_hi-(2*s*r - (pio2_lo-2*c) - (0.5*pio2_hi-2*f)); in asinl()
D__invtrigl.h4 #define pio2_hi __pio2_hi macro
6 hidden extern const long double pio2_hi, pio2_lo;
D__invtrigl.c19 const long double pio2_hi = 1.57079632679489661926L; variable
53 const long double pio2_hi = 1.57079632679489661923132169163975140L; variable
/third_party/jerryscript/jerry-libm/
Dasin.c62 #define pio2_hi 1.57079632679489655800e+00 /* 0x3FF921FB, 0x54442D18 */ macro
90 return x * pio2_hi + x * pio2_lo; in asin()
118 t = pio2_hi - (2.0 * (s + s * w.dbl) - pio2_lo); in asin()
142 #undef pio2_hi
Dacos.c57 #define pio2_hi 1.57079632679489655800e+00 /* 0x3FF921FB, 0x54442D18 */ macro
97 return pio2_hi + pio2_lo; in acos()
103 return pio2_hi - (x - (pio2_lo - x * r)); in acos()
133 #undef pio2_hi
/third_party/node/deps/v8/src/base/
Dieee754.cc866 pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */ in acos() local
895 if (ix <= 0x3C600000) return pio2_hi + pio2_lo; /*if|x|<2**-57*/ in acos()
900 return pio2_hi - (x - (pio2_lo - x * r)); in acos()
995 pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */ in asin() local
1020 return x * pio2_hi + x * pio2_lo; in asin()
1042 t = pio2_hi - (2.0 * (s + s * w) - pio2_lo); in asin()