Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 33) sorted by relevance

12

/picolibc-latest/newlib/libm/math/
Dsf_cosh.c23 static const float one = 1.0, half = 0.5; variable
52 return half * t + half / t; in coshf()
57 return half * expf(x); in coshf()
61 w = expf(half * x); in coshf()
62 t = half * w; in coshf()
Ds_cosh.c39 static const __float64 one = _F_64(1.0), half = _F_64(0.5); variable
70 return half * t + half / t; in cosh64()
75 return half * exp(x); in cosh64()
80 w = exp(half * x); in cosh64()
81 t = half * w; in cosh64()
Dkf_sin.c18 static const float half = 5.0000000000e-01, /* 0x3f000000 */ variable
41 return x - ((z * (half * y - v * r) - y) - v * S1); in __kernel_sinf()
Dk_sin.c47 half = _F_64(5.00000000000000000000e-01), /* 0x3FE00000, 0x00000000 */ variable
70 return x - ((z * (half * y - v * r) - y) - v * S1); in __kernel_sin()
Dsf_rem_pio2.c70 half = 5.0000000000e-01, /* 0x3f000000 */ variable
123 n = (__int32_t)(t * invpio2 + half); in __rem_pio2f()
Ds_rem_pio2.c62 half = _F_64(5.00000000000000000000e-01), /* 0x3FE00000, 0x00000000 */ variable
116 n = (__int32_t)(t * invpio2 + half); in __rem_pio2()
Dsrf_lgamma.c22 half = 5.0000000000e-01, /* 0x3f000000 */ variable
251 r = half * y + p / q; in __math_lgammaf_r()
277 r = (x - half) * (t - one) + w; in __math_lgammaf_r()
Dsr_lgamma.c90 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
319 r = half * y + p / q; in __math_lgamma_r()
345 r = (x - half) * (t - one) + w; in __math_lgamma_r()
Dsf_erf.c23 static const float tiny = 1e-30, half = 5.0000000000e-01, /* 0x3F000000 */ variable
191 r += (x - half); in erfcf()
192 return half - r; in erfcf()
/picolibc-latest/newlib/libm/ld/ld80/
De_coshl.c34 static const long double one = 1.0l, half=0.5l, huge = 1.0e4900L; variable
61 return half*t+half/t; in coshl()
66 return half*expl(fabsl(x)); in coshl()
72 w = expl(half*fabsl(x)); in coshl()
73 t = half*w; in coshl()
De_lgammal_r.c92 half = 0.5L, variable
248 y = cosl (pi * (half - y)); in sin_pi()
366 r += half * y + y * p1/p2; in lgammal_r()
377 r += (-half * y + p1 / p2); in lgammal_r()
389 r = half * y + p / q; in lgammal_r()
419 r = (x - half) * (t - one) + w; in lgammal_r()
Ds_erfl.c106 half = 0.5L, variable
359 r += (x - half); in erfcl()
360 return half - r; in erfcl()
/picolibc-latest/newlib/libm/ld/ld128/
De_coshl.c49 static const long double one = 1.0L, half = 0.5L, huge = 1.0e4900L, variable
84 return half * t + half / t; in coshl()
89 return half * expl (u.value); in coshl()
94 w = expl (half * u.value); in coshl()
95 t = half * w; in coshl()
Dk_sinl.c21 half = 0.5; variable
55 else return x-((z*((long double)half*y-v*r)-y)-v*S1); in __kernel_sinl()
/picolibc-latest/newlib/libm/machine/spu/headers/
Dasind2.h111 vec_double2 half = spu_splats(0.5); in _asind2() local
120 x_trans = _sqrtd2(spu_nmsub(x_abs, half, half)); in _asind2()
123 x_gt_half = spu_cmpgt((vec_uint4)x_abs, (vec_uint4)half); in _asind2()
124 x_eq_half = spu_cmpeq((vec_uint4)x_abs, (vec_uint4)half); in _asind2()
Dacosd2.h107 vec_double2 half = spu_splats(0.5); in _acosd2() local
116 x_trans = _sqrtd2(spu_nmsub(x_abs, half, half)); in _acosd2()
121 x_gt_half = spu_cmpgt((vec_uint4)x_abs, (vec_uint4)half); in _acosd2()
122 x_eq_half = spu_cmpeq((vec_uint4)x_abs, (vec_uint4)half); in _acosd2()
Dfrexpf.h46 vec_float4 half = VEC_SPLAT_F32(0.5f); in _frexpf() local
53 mant = spu_sel(in, half, exp_mask); in _frexpf()
Dfrexp.h49 vec_double2 half = VEC_SPLAT_F64(0.5); in _frexp() local
56 mant = spu_sel(in, half, exp_mask); in _frexp()
Dsqrtf4.h60 vec_uint4 half = spu_splats((unsigned int)0x00800000); in _sqrtf4() local
79 spu_mul(y0, (vec_float4)(spu_sub((vec_uint4)(x), half)))); in _sqrtf4()
Dcbrtf.h56 vec_float4 half = VEC_SPLAT_F32(0.5f); in _cbrtf() local
72 mant = spu_sel(half, in, mant_mask); in _cbrtf()
Dcbrt.h61 vec_double2 half = VEC_SPLAT_F64(0.5); in _cbrt() local
77 mant = spu_sel(half, in, mant_mask); in _cbrt()
Dacosf4.h68 vec_float4 half = spu_splats(0.5f); in _acosf4() local
102 vec_float4 zb = spu_sel(half,x,sel0); in _acosf4()
/picolibc-latest/newlib/libc/tinystdio/
Ddtox_engine.c143 DTOX_INT half = ((DTOX_INT) 1) << (bits - 1); in __dtox_engine() local
144 DTOX_INT mask = ~((half << 1) - 1); in __dtox_engine()
147 if ((s & ~mask) > half || ((s >> bits) & 1) != 0) in __dtox_engine()
148 s += half; in __dtox_engine()
Dldtox_engine.c123 _u128 half = _u128_lshift(to_u128(1), bits - 1); in __ldtox_engine() local
124 _u128 mask = _u128_not(_u128_minus_64(_u128_lshift(half, 1), 1)); in __ldtox_engine()
127 …if (_u128_gt(_u128_and(s, _u128_not(mask)), half) || _u128_and_64(_u128_rshift(s, bits), 1) != 0) { in __ldtox_engine()
128 s = _u128_plus(s, half); in __ldtox_engine()
/picolibc-latest/newlib/libc/machine/rl78/
Dsetjmp.S162 _push 30 ; high half of PC
163 _push 28 ; low half of PC

12