Home
last modified time | relevance | path

Searched refs:zero (Results 1 – 25 of 97) sorted by relevance

1234

/picolibc-latest/semihost/machine/riscv/
Dsemihost-riscv.S43 slli zero, zero, 0x1f
45 srai zero, zero, 0x7
/picolibc-latest/newlib/libm/machine/spu/headers/
Dldexpf.h46 vec_uint4 zero, overflow; in _ldexpf() local
57 zero = spu_cmpeq(x_exp, 0); in _ldexpf()
64 zero = spu_orc(zero, spu_cmpgt(x_exp, 0)); in _ldexpf()
72 out = spu_andc(out, (vec_float4)zero); in _ldexpf()
Dscalbnf.h46 vec_uint4 zero, overflow; in _scalbnf() local
57 zero = spu_cmpeq(x_exp, 0); in _scalbnf()
64 zero = spu_orc(zero, spu_cmpgt(x_exp, 0)); in _scalbnf()
72 out = spu_andc(out, (vec_float4)zero); in _scalbnf()
Dscalbnf4.h67 vec_uint4 zero; in _scalbnf4() local
76 zero = spu_cmpeq(x_exp, 0); in _scalbnf4()
87 zero = spu_rlmask(spu_orc(zero, spu_cmpgt(x_exp, 0)), -1); in _scalbnf4()
94 out = spu_andc(out, (vec_float4)zero); in _scalbnf4()
Dpowd2.h70 vector double zero = spu_splats(0.0); in _powd2() local
79 x_is_neg = (vec_uint4)spu_cmpgt(zero, x); in _powd2()
115 out = spu_sel(out, spu_splats(1.0), spu_cmpabseq(y, zero)); in _powd2()
/picolibc-latest/newlib/libc/machine/mips/
Dstrcmp.S94 bne t0, zero, L(byteloop)
110 bne t0, zero, L(returnzero)
134 move v0, zero
162 beq t0, zero, L(wexit01)
169 beq t8, zero, L(wexit89)
176 beq t0, zero, L(wexit01)
184 beq t0, zero, L(wexit01)
191 beq t8, zero, L(wexit89)
198 beq t0, zero, L(wexit01)
220 beq v0, zero, L(bexit01); \
[all …]
/picolibc-latest/newlib/libm/math/
Dsrf_lgamma.c88 static const float zero = 0.0000000000e+00; variable
100 return __kernel_sinf(pi * x, zero, 0); in sin_pif()
114 y = zero; in sin_pif()
127 y = __kernel_sinf(pi * y, zero, 0); in sin_pif()
131 y = __kernel_cosf(pi * ((float)0.5 - y), zero); in sin_pif()
135 y = __kernel_sinf(pi * (one - y), zero, 0); in sin_pif()
139 y = -__kernel_cosf(pi * (y - (float)1.5), zero); in sin_pif()
142 y = __kernel_sinf(pi * (y - (float)2.0), zero, 0); in sin_pif()
180 if (t == zero) { in __math_lgammaf_r()
185 if (t < zero) in __math_lgammaf_r()
[all …]
Dsr_lgamma.c156 static const __float64 zero = 0.00000000000000000000e+00; variable
168 return __kernel_sin(pi * x, zero, 0); in sin_pi()
182 y = zero; in sin_pi()
195 y = __kernel_sin(pi * y, zero, 0); in sin_pi()
199 y = __kernel_cos(pi * (_F_64(0.5) - y), zero); in sin_pi()
203 y = __kernel_sin(pi * (one - y), zero, 0); in sin_pi()
207 y = -__kernel_cos(pi * (y - _F_64(1.5)), zero); in sin_pi()
210 y = __kernel_sin(pi * (y - _F_64(2.0)), zero, 0); in sin_pi()
248 if (t == zero) { in __math_lgamma_r()
253 if (t < zero) in __math_lgamma_r()
[all …]
Dsf_atan2.c19 static const float tiny = 1.0e-30, zero = 0.0, variable
73 return zero; /* atan(+...,+INF) */ in atan2f()
75 return -zero; /* atan(-...,+INF) */ in atan2f()
Dsf_jn.c21 static const float zero = 0.0000000000e+00; variable
50 b = zero; in jnf()
66 b = zero; in jnf()
123 for (t = zero, i = 2 * (n + k); i >= m; i -= 2) in jnf()
190 return zero; in ynf()
Dsf_atanh.c21 static const float zero = 0.0; variable
34 if (ix < 0x31800000 && (huge + x) > zero) in atanhf()
Ds_atan2.c47 tiny = _F_64(1.0e-300), zero = _F_64(0.0), variable
103 return zero; /* atan(+...,+INF) */ in atan264()
105 return -zero; /* atan(-...,+INF) */ in atan264()
Ds_atanh.c39 static const __float64 zero = _F_64(0.0); variable
53 if (ix < 0x3e300000 && (huge + x) > zero) in atanh64()
Dsf_log.c30 static const float zero = 0.0; variable
59 if (f == zero) { in logf()
61 return zero; in logf()
/picolibc-latest/test/
Dfenv.c66 volatile test_t zero = 0.0; variable
213 TEST_CASE(one / zero, FE_DIVBYZERO); in main()
214 TEST_CASE(test_log(zero), FE_DIVBYZERO); in main()
225 TEST_CASE(zero * inf, FE_INVALID); in main()
226 TEST_CASE(inf * zero, FE_INVALID); in main()
229 TEST_CASE(zero / zero, FE_INVALID); in main()
231 TEST_CASE(test_remainder(one, zero), FE_INVALID); in main()
Dmath_errhandling_tests.c38 volatile const FLOAT_T makemathname(zero) = (FLOAT_T) 0.0;
106 static FLOAT_T makemathname(test_asinh_0)(void) { return makemathname(asinh)(makemathname(zero)); } in makemathname()
127 static FLOAT_T makemathname(test_cbrt_0)(void) { return makemathname(cbrt)(makemathname(zero)); } in makemathname()
128 static FLOAT_T makemathname(test_cbrt_neg0)(void) { return makemathname(cbrt)(-makemathname(zero));… in makemathname()
137 static FLOAT_T makemathname(test_cos_0)(void) { return makemathname(cos)(makemathname(zero)); } in makemathname()
145 …kemathname(test_drem_0)(void) { return makemathname(drem)(makemathname(two), makemathname(zero)); } in makemathname()
151 …ame(test_drem_inf_0)(void) { return makemathname(drem)(makemathname(infval), makemathname(zero)); } in makemathname()
152 …mathname(test_drem_2_0)(void) { return makemathname(drem)(makemathname(two), makemathname(zero)); } in makemathname()
158 static FLOAT_T makemathname(test_erf_0)(void) { return makemathname(erf)(makemathname(zero)); } in makemathname()
159 static FLOAT_T makemathname(test_erf_neg0)(void) { return makemathname(erf)(-makemathname(zero)); } in makemathname()
[all …]
/picolibc-latest/newlib/libm/common/
Dsf_log1p.c31 static const float zero = 0.0; variable
52 if(two25+x>zero /* raise inexact */ in log1pf()
87 if(f==zero) { if(k==0) return zero; in log1pf()
Ds_log1p.c132 static const __float64 zero = _F_64(0.0); variable
152 if(two54+x>zero /* raise inexact */ in log1p64()
187 if(f==zero) { if(k==0) return zero; in log1p64()
/picolibc-latest/newlib/libm/ld/ld80/
De_atanhl.c35 static const long double zero = 0.0l; variable
50 if(ix<0x3fe3&&(huge+x)>zero) return x; /* x<2**-28 */ in atanhl()
Ds_truncl.c32 static const float zero[] = { 0.0, -0.0 }; variable
46 return ((long double)zero[(es&0x8000)!=0]); in truncl()
/picolibc-latest/newlib/libm/ld/ld128/
Ds_truncl.c30 static const float zero[] = { 0.0, -0.0 }; variable
44 return (long double)(zero[((ix0>>48)&0x8000)!=0]); in truncl()
De_atanhl.c35 static const long double zero = 0.0L; variable
55 if(ix<0x3fc60000 && (huge+x)>zero) return x; /* x < 2^-57 */ in atanhl()
/picolibc-latest/newlib/libc/machine/hppa/
Dstrncmp.S108 addibt,<=,n -4,count,zero /* have we checked N chars? */
141 addibt,<=,n -4,count,zero /* have we checked N chars? */
143 b,n zero
177 addibt,<=,n -4,count,zero /* have we checked N chars? */
179 b,n zero /* zero ret0 and quit */
189 zero: copy r0,ret0 label
/picolibc-latest/newlib/libm/ld/common/
De_atan2l.c26 static const long double zero = 0.0l; variable
77 case 0: return zero ; /* atan(+...,+INF) */ in atan2l()
78 case 1: return -zero ; /* atan(-...,+INF) */ in atan2l()
Ds_rintl.c46 static const float zero[2] = { 0.0, -0.0 }; variable
81 return ((long double)zero[sign]); in rintl()

1234