Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 11 of 11) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dexp2.c56 double_t scale, y; in specialcase() local
62 scale = asfloat64 (sbits); in specialcase()
63 y = 2 * (scale + scale * tmp); in specialcase()
68 scale = asfloat64 (sbits); in specialcase()
69 y = scale + scale * tmp; in specialcase()
77 lo = scale - y + scale * tmp; in specialcase()
104 double_t kd, r, r2, scale, tail, tmp; in exp2() local
155 scale = asfloat64 (sbits); in exp2()
158 return scale + scale * tmp; in exp2()
Dexp.c58 double_t scale, y; in specialcase() local
64 scale = asfloat64 (sbits); in specialcase()
65 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
70 scale = asfloat64 (sbits); in specialcase()
71 y = scale + scale * tmp; in specialcase()
79 lo = scale - y + scale * tmp; in specialcase()
106 double_t kd, z, r, r2, scale, tail, tmp; in exp() local
168 scale = asfloat64 (sbits); in exp()
171 return scale + scale * tmp; in exp()
Dpow.c153 double_t scale, y; in specialcase() local
159 scale = asfloat64 (sbits); in specialcase()
160 y = 0x1p1009 * (scale + scale * tmp); in specialcase()
166 scale = asfloat64 (sbits); in specialcase()
167 y = scale + scale * tmp; in specialcase()
181 lo = scale - y + scale * tmp; in specialcase()
205 double_t kd, z, r, r2, scale, tail, tmp; in exp_inline() local
269 scale = asfloat64 (sbits); in exp_inline()
272 return scale + scale * tmp; in exp_inline()
Dfrexpl.c35 static const long double scale = 0x1p54; variable
61 static const double scale = 0x1p65; variable
89 static const long double scale = 0x1p107l; variable
119 static const long double scale = 0x1p114l; variable
165 u.x *= (long double) scale; in frexpl()
Dfma_inc.h98 add_and_denormalize(FLOAT_T a, FLOAT_T b, int scale) in add_and_denormalize() argument
116 bits_lost = -EXPONENT(sum.hi) - scale + FLOAT_DENORM_BIAS; in add_and_denormalize()
120 return (LDEXP(sum.hi, scale)); in add_and_denormalize()
/picolibc-3.7.0-3.6.0/newlib/libm/complex/
Dcsqrtf.c42 float x, y, r, t, scale; in csqrtf() local
73 scale = 2.0f; in csqrtf()
78 scale = 1.220703125e-4f; /* 2^-13 */ in csqrtf()
82 scale = 0.5f; in csqrtf()
89 r = scale * fabsf((0.5f * y) / t); in csqrtf()
90 t *= scale; in csqrtf()
93 t = scale * fabsf((0.5f * y) / r); in csqrtf()
94 r *= scale; in csqrtf()
Dcsqrt.c77 double x, y, r, t, scale; in csqrt() local
109 scale = 2.0; in csqrt()
114 scale = 7.450580596923828125e-9; /* 2^-27 */ in csqrt()
118 scale = 0.5; in csqrt()
125 r = scale * fabs((0.5 * y) / t ); in csqrt()
126 t *= scale; in csqrt()
129 t = scale * fabs((0.5 * y) / r); in csqrt()
130 r *= scale; in csqrt()
Dcsqrtl.c54 bool scale; in csqrtl() local
89 scale = true; in csqrtl()
91 scale = false; in csqrtl()
104 if (scale) in csqrtl()
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Drecipd2.h79 vec_double2 scale; in _recipd2() local
98 scale = spu_xor(exp, (vec_double2)spu_sel(expmask, expmask_minus1, isdenorm)); in _recipd2()
99 value_d = spu_mul(value_in, scale); in _recipd2()
109 x3 = spu_sel(spu_mul(x3, scale), spu_xor(value_in, (vector double)expmask), is0inf); in _recipd2()
146 scale = spu_xor(spu_and(value_d, (vec_double2)expmask), (vec_double2)expmask); in _recipd2()
147 value_d = spu_mul(value_d, scale); in _recipd2()
158 x3 = spu_mul(x3, spu_sel(scale, value_in, (vec_ullong2)sign)); in _recipd2()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dstrtod.c185 int scale) in sulp() argument
192 if (!scale || (i = 2*P + 1 - ((dword0(x) & Exp_mask) >> Exp_shift)) <= 0) in sulp()
247 int scale; local
579 scale = 0;
672 scale = 2*P;
676 if (scale && (j = 2*P + 1 - ((dword0(rv) & Exp_mask)
769 j = bbe - scale;
799 bd2 += scale;
868 if (!scale || y > 2*P*Exp_msk1)
880 if (scale && (y = dword0(rv) & Exp_mask)
[all …]
/picolibc-3.7.0-3.6.0/newlib/
DChangeLog-201518698 * libm/math/ef_hypot.c: Increase scale factor to 68.
18910 * libm/math/ef_hypot.c: Increase scale factor to 68.