Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dsf_exp.c63 double_t kd, xd, z, r, r2, y, s; in expf() local
91 kd = roundtoint (z); in expf()
95 kd = (double) (z + SHIFT); /* Rounding to double precision is required. */ in expf()
96 ki = asuint64 (kd); in expf()
97 kd -= SHIFT; in expf()
99 r = z - kd; in expf()
Dexp.c106 double_t kd, z, r, r2, scale, tail, tmp; in exp() local
134 kd = roundtoint (z); in exp()
138 kd = eval_as_double (z + Shift); in exp()
139 ki = asuint64 (kd) >> 16; in exp()
140 kd = (double_t) (int32_t) ki; in exp()
143 kd = eval_as_double (z + Shift); in exp()
144 ki = asuint64 (kd); in exp()
145 kd -= Shift; in exp()
147 r = x + kd * NegLn2hiN + kd * NegLn2loN; in exp()
Dsf_exp2.c63 double_t kd, xd, z, r, r2, y, s; in exp2f() local
85 kd = (double) (xd + SHIFT); /* Rounding to double precision is required. */ in exp2f()
86 ki = asuint64 (kd); in exp2f()
87 kd -= SHIFT; /* k/N for int k. */ in exp2f()
88 r = xd - kd; in exp2f()
Dpow.c63 double_t z, r, y, invc, logc, logctail, kd, hi, t1, t2, lo, lo1, lo2, p; in log_inline() local
75 kd = (double_t) k; in log_inline()
96 t1 = kd * Ln2hi + logc; in log_inline()
98 lo1 = kd * Ln2lo + logctail; in log_inline()
205 double_t kd, z, r, r2, scale, tail, tmp; in exp_inline() local
233 kd = roundtoint (z); in exp_inline()
237 kd = eval_as_double (z + Shift); in exp_inline()
238 ki = asuint64 (kd) >> 16; in exp_inline()
239 kd = (double_t) (int32_t) ki; in exp_inline()
242 kd = eval_as_double (z + Shift); in exp_inline()
[all …]
Dexp2.c104 double_t kd, r, r2, scale, tail, tmp; in exp2() local
131 kd = eval_as_double (x + Shift); in exp2()
132 ki = asuint64 (kd); /* k. */ in exp2()
133 kd -= Shift; /* k/N for int k. */ in exp2()
134 r = x - kd; in exp2()
Dsf_pow.c102 double_t kd, z, r, r2, y, s; in exp2_inline() local
107 kd = roundtoint (xd); /* k */ in exp2_inline()
113 kd = (double) (xd + SHIFT); /* Rounding to double precision is required. */ in exp2_inline()
114 ki = asuint64 (kd); in exp2_inline()
115 kd -= SHIFT; /* k/N */ in exp2_inline()
117 r = xd - kd; in exp2_inline()
Dlog.c56 double_t w, z, r, r2, r3, y, invc, logc, kd, hi, lo; in log() local
156 kd = (double_t) k; in log()
159 w = kd * Ln2hi + logc; in log()
161 lo = w - hi + r + kd * Ln2lo; in log()
Dlog2.c56 double_t z, r, r2, r4, y, invc, logc, kd, hi, lo, t1, t2, t3, p; variable
122 kd = (double_t) k;
142 t3 = kd + logc;