Home
last modified time | relevance | path

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

/haiku/src/system/libroot/posix/musl/math/
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A D__invtrigl.h4 #define pio2_hi __pio2_hi macro
6 hidden extern const long double pio2_hi, pio2_lo;
H A D__invtrigl.c19 const long double pio2_hi = 1.57079632679489661926L; variable
53 const long double pio2_hi = 1.57079632679489661923132169163975140L; variable