Home
last modified time | relevance | path

Searched refs:ln2_hi (Results 1 - 13 of 13) sorted by relevance

/third_party/jerryscript/jerry-libm/
H A Dlog.c60 * = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo)))
62 * ln2_hi + ln2_lo,
63 * where n*ln2_hi is always exact for |n| < 2000.
82 #define ln2_hi 6.93147180369123816490e-01 /* 3fe62e42 fee00000 */ macro
143 return dk * ln2_hi + dk * ln2_lo; in log()
154 return dk * ln2_hi - ((R - dk * ln2_lo) - f); in log()
176 return dk * ln2_hi - ((hfsq - (s * (hfsq + R) + dk * ln2_lo)) - f); in log()
187 return dk * ln2_hi - ((s * (f - R) - dk * ln2_lo) - f); in log()
193 #undef ln2_hi macro
H A Dexpm1.c128 #define ln2_hi 6.93147180369123816490e-01 /* 0x3fe62e42, 0xfee00000 */ macro
199 hi = x - ln2_hi; in expm1()
205 hi = x + ln2_hi; in expm1()
214 hi = x - t.dbl * ln2_hi; /* t*ln2_hi is exact here */ in expm1()
298 #undef ln2_hi macro
H A Dlog1p.c63 * = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo)))
65 * ln2_hi + ln2_lo,
66 * where n*ln2_hi is always exact for |n| < 2000.
94 #define ln2_hi 6.93147180369123816490e-01 /* 3fe62e42 fee00000 */ macro
208 return k * ln2_hi + c; in log1p()
218 return k * ln2_hi - ((R - (k * ln2_lo + c)) - f); in log1p()
231 return k * ln2_hi - ((hfsq - (s * (hfsq + R) + (k * ln2_lo + c))) - f); in log1p()
236 #undef ln2_hi macro
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dexpm1.c111 ln2_hi = 6.93147180369123816490e-01, /* 0x3fe62e42, 0xfee00000 */ variable
144 hi = x - ln2_hi; in expm1()
148 hi = x + ln2_hi; in expm1()
155 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1()
H A Dexpm1f.c19 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */ variable
53 hi = x - ln2_hi; in expm1f()
57 hi = x + ln2_hi; in expm1f()
64 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1f()
H A Dlog1p.c59 ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */ variable
121 return s*(hfsq+R) + (dk*ln2_lo+c) - hfsq + f + dk*ln2_hi; in log1p()
H A Dlog1pf.c16 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */ variable
76 return s*(hfsq+R) + (dk*ln2_lo+c) - hfsq + f + dk*ln2_hi; in log1pf()
/third_party/musl/src/math/
H A Dexpm1.c111 ln2_hi = 6.93147180369123816490e-01, /* 0x3fe62e42, 0xfee00000 */ variable
144 hi = x - ln2_hi; in expm1()
148 hi = x + ln2_hi; in expm1()
155 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1()
H A Dexpm1f.c19 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */ variable
53 hi = x - ln2_hi; in expm1f()
57 hi = x + ln2_hi; in expm1f()
64 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1f()
H A Dlog1p.c59 ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */ variable
121 return s*(hfsq+R) + (dk*ln2_lo+c) - hfsq + f + dk*ln2_hi; in log1p()
H A Dlog1pf.c16 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */ variable
76 return s*(hfsq+R) + (dk*ln2_lo+c) - hfsq + f + dk*ln2_hi; in log1pf()
/third_party/node/deps/v8/src/base/
H A Dieee754.cc1614 * = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo)))
1616 * ln2_hi + ln2_lo,
1617 * where n*ln2_hi is always exact for |n| < 2000.
1636 ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */ in log() local
1680 return dk * ln2_hi + dk * ln2_lo; in log()
1688 return dk * ln2_hi - ((R - dk * ln2_lo) - f); in log()
1706 return dk * ln2_hi - ((hfsq - (s * (hfsq + R) + dk * ln2_lo)) - f); in log()
1711 return dk * ln2_hi - ((s * (f - R) - dk * ln2_lo) - f); in log()
1750 * = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo)))
1752 * ln2_hi
1781 ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */ log1p() local
2214 ln2_hi = 6.93147180369123816490e-01, /* 0x3FE62E42, 0xFEE00000 */ expm1() local
[all...]
/third_party/FreeBSD/lib/msun/ld128/
H A Ds_logl.c122 #define ln2_hi F_hi(TSIZE - 1) macro
134 * ln2_hi and each F_hi(i) are rounded to a number of bits that
135 * makes F_hi(i) + dk*ln2_hi exact for all i and all dk.
137 * The last entry (for X just below 2) is used to define ln2_hi
139 * with dk*ln2_hi and dk*ln2_lo, respectively, when dk = -1.
529 * F_hi(i) with dk*ln_2_lo and dk*ln2_hi when k is -1 and i is in k_logl()
560 _3sumF(val_hi, val_lo, F_hi(i) + dk * ln2_hi); in k_logl()
669 _3sumF(val_hi, val_lo, F_hi(i) + dk * ln2_hi); in log1pl()

Completed in 12 milliseconds