Home
last modified time | relevance | path

Searched refs:ki (Results 1 – 6 of 6) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dexp.c56 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
60 if ((ki & 0x80000000) == 0) in specialcase()
104 uint64_t ki, idx, top, sbits; in exp() local
135 ki = converttoint (z); in exp()
139 ki = asuint64 (kd) >> 16; in exp()
140 kd = (double_t) (int32_t) ki; in exp()
144 ki = asuint64 (kd); in exp()
149 idx = 2 * (ki % N); in exp()
150 top = ki << (52 - EXP_TABLE_BITS); in exp()
167 return specialcase (tmp, sbits, ki); in exp()
Dsf_exp.c61 uint64_t ki, t; in expf() local
92 ki = converttoint (z); in expf()
96 ki = asuint64 (kd); in expf()
102 t = T[ki % N]; in expf()
103 t += ki << (52 - EXP2F_TABLE_BITS); in expf()
Dexp2.c54 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
58 if ((ki & 0x80000000) == 0) in specialcase()
102 uint64_t ki, idx, top, sbits; in exp2() local
132 ki = asuint64 (kd); /* k. */ in exp2()
136 idx = 2 * (ki % N); in exp2()
137 top = ki << (52 - EXP_TABLE_BITS); in exp2()
154 return specialcase (tmp, sbits, ki); in exp2()
Dsf_exp2.c61 uint64_t ki, t; in exp2f() local
86 ki = asuint64 (kd); in exp2f()
91 t = T[ki % N]; in exp2f()
92 t += ki << (52 - EXP2F_TABLE_BITS); in exp2f()
Dpow.c151 specialcase (double_t tmp, uint64_t sbits, uint64_t ki) in specialcase() argument
155 if ((ki & 0x80000000) == 0) in specialcase()
203 uint64_t ki, idx, top, sbits; in exp_inline() local
234 ki = converttoint (z); in exp_inline()
238 ki = asuint64 (kd) >> 16; in exp_inline()
239 kd = (double_t) (int32_t) ki; in exp_inline()
243 ki = asuint64 (kd); in exp_inline()
250 idx = 2 * (ki % N); in exp_inline()
251 top = (ki + sign_bias) << (52 - EXP_TABLE_BITS); in exp_inline()
268 return specialcase (tmp, sbits, ki); in exp_inline()
Dsf_pow.c100 uint64_t ki, ski, t; in exp2_inline() local
108 ki = converttoint (xd); in exp2_inline()
114 ki = asuint64 (kd); in exp2_inline()
120 t = T[ki % N]; in exp2_inline()
121 ski = ki + sign_bias; in exp2_inline()