Home
last modified time | relevance | path

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

123

/bionic/libm/upstream-freebsd/lib/msun/src/
De_lgamma_r.c91 zero= 0.00000000000000000000e+00, variable
175 return zero; in sin_pi()
188 case 0: y = __kernel_sin(pi*y,zero,0); break; in sin_pi()
190 case 2: y = __kernel_cos(pi*(0.5-y),zero); break; in sin_pi()
192 case 4: y = __kernel_sin(pi*(one-y),zero,0); break; in sin_pi()
194 case 6: y = -__kernel_cos(pi*(y-1.5),zero); break; in sin_pi()
195 default: y = __kernel_sin(pi*(y-2.0),zero,0); break; in sin_pi()
229 if(t==zero) return one/vzero; /* -integer */ in __ieee754_lgamma_r()
231 if(t<zero) *signgamp = -1; in __ieee754_lgamma_r()
245 r = zero; in __ieee754_lgamma_r()
Ds_modfl.c57 static const long double zero[] = { 0.0L, -0.0L }; variable
69 *iptr = zero[ux.bits.sign]; in modfl()
75 return (zero[ux.bits.sign]); in modfl()
89 return (zero[ux.bits.sign]); in modfl()
94 return (zero[ux.bits.sign]); in modfl()
De_atanhf.c24 static const float zero = 0.0; variable
36 return x/zero; in __ieee754_atanhf()
37 if(ix<0x31800000&&(huge+x)>zero) return x; /* x<2**-28 */ in __ieee754_atanhf()
De_logf.c32 static const float zero = 0.0; variable
47 if (ix<0) return (x-x)/zero; /* log(-#) = NaN */ in __ieee754_logf()
59 if(f==zero) { in __ieee754_logf()
61 return zero; in __ieee754_logf()
De_log.c85 static const double zero = 0.0; variable
101 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */ in __ieee754_log()
113 if(f==zero) { in __ieee754_log()
115 return zero; in __ieee754_log()
Ds_log1pf.c36 static const float zero = 0.0; variable
55 if(two25+x>zero /* raise inexact */ in log1pf()
98 if(f==zero) { in log1pf()
100 return zero; in log1pf()
De_atanh.c42 static const double zero = 0.0; variable
55 return x/zero; in __ieee754_atanh()
56 if(ix<0x3e300000&&(huge+x)>zero) return x; /* x<2**-28 */ in __ieee754_atanh()
De_atanhl.c52 static const double zero = 0.0; variable
64 RETURNI(fabsl(x) == 1 ? x / zero : (x - x) / (x - x)); in atanhl()
65 if (ix < BIAS + EXP_TINY && (huge + x) > zero) in atanhl()
Ds_log1p.c98 static const double zero = 0.0; variable
117 if(two54+x>zero /* raise inexact */ in log1p()
159 if(f==zero) { in log1p()
161 return zero; in log1p()
De_jnf.c32 static const float zero = 0.0000000000e+00; variable
58 b = zero; in __ieee754_jnf()
74 b = zero; in __ieee754_jnf()
124 for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t); in __ieee754_jnf()
191 if(ix==0x7f800000) return zero; in __ieee754_ynf()
De_log2f.c28 static const float zero = 0.0; variable
43 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */ in __ieee754_log2f()
49 return zero; /* log(1) = +0 */ in __ieee754_log2f()
De_log10f.c30 static const float zero = 0.0; variable
45 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */ in __ieee754_log10f()
51 return zero; /* log(1) = +0 */ in __ieee754_log10f()
De_atan2f.c25 zero = 0.0, variable
71 case 0: return zero ; /* atan(+...,+INF) */ in __ieee754_atan2f()
72 case 1: return -zero ; /* atan(-...,+INF) */ in __ieee754_atan2f()
De_lgammaf_r.c26 zero= 0, variable
96 return zero; in sin_pif()
150 if(t==zero) return one/vzero; /* -integer */ in __ieee754_lgammaf_r()
152 if(t<zero) *signgamp = -1; in __ieee754_lgammaf_r()
166 r = zero; in __ieee754_lgammaf_r()
De_log2.c38 static const double zero = 0.0; variable
54 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */ in __ieee754_log2()
60 return zero; /* log(1) = +0 */ in __ieee754_log2()
De_atan2.c53 zero = 0.0, variable
100 case 0: return zero ; /* atan(+...,+INF) */ in __ieee754_atan2()
101 case 1: return -zero ; /* atan(-...,+INF) */ in __ieee754_atan2()
De_log10.c38 static const double zero = 0.0; variable
54 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */ in __ieee754_log10()
60 return zero; /* log(1) = +0 */ in __ieee754_log10()
De_jn.c51 static const double zero = 0.00000000000000000000e+00; variable
77 b = zero; in __ieee754_jn()
117 b = zero; in __ieee754_jn()
167 for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t); in __ieee754_jn()
237 if(ix==0x7ff00000) return zero; in __ieee754_yn()
De_atan2l.c33 zero = 0.0; variable
94 case 0: return zero ; /* atan(+...,+INF) */ in atan2l()
95 case 1: return -zero ; /* atan(-...,+INF) */ in atan2l()
Ds_rintl.c54 static const float zero[2] = { 0.0, -0.0 }; variable
89 return (zero[sign]); in rintl()
/bionic/tests/
Dsearch_test.cpp148 q_node zero(0); in TEST() local
154 insque(&zero, nullptr); in TEST()
155 insque(&one, &zero); in TEST()
159 for (q_node* q = &zero; q != nullptr; q = q->next) { in TEST()
171 q_node* head = &zero; in TEST()
182 remque(&zero); in TEST()
186 zero.next = &zero; in TEST()
187 zero.prev = &zero; in TEST()
189 insque(&one, &zero); in TEST()
209 remque(&zero); in TEST()
/bionic/libc/malloc_debug/
DAndroid.bp36 // -Wno-error=format-zero-length needed for gcc to compile.
40 "-Wno-error=format-zero-length",
94 // -Wno-error=format-zero-length needed for gcc to compile.
99 "-Wno-error=format-zero-length",
150 "-Wno-error=format-zero-length",
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_log.c368 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0;
373 if (x == zero) /* log(0) = -Inf */
374 return (-one/zero);
376 return (zero/zero);
/bionic/libm/upstream-freebsd/lib/msun/ld128/
De_lgammal_r.c29 zero= 0, variable
199 return zero; in sin_pil()
212 case 0: y = __kernel_sinl(pi*y,zero,0); break; in sin_pil()
214 case 2: y = __kernel_cosl(pi*(0.5-y),zero); break; in sin_pil()
216 case 4: y = __kernel_sinl(pi*(one-y),zero,0); break; in sin_pil()
218 case 6: y = -__kernel_cosl(pi*(y-1.5),zero); break; in sin_pil()
219 default: y = __kernel_sinl(pi*(y-2.0),zero,0); break; in sin_pil()
253 if(t==zero) return one/vzero; in lgammal_r()
255 if(t<zero) *signgamp = -1; in lgammal_r()
/bionic/benchmarks/
Dmath_benchmark.cpp35 static float zero = 0.0f; variable
254 f = expf(f * zero + *cin); in BM_math_expf_speccpu2017_latency()
303 f = exp2f(f * zero + *cin); in BM_math_exp2f_speccpu2017_latency()
325 f = exp2(d * zero + *cin); in BM_math_exp2_speccpu2017_latency()
352 f = powf(f * zero + cin->first, cin->second); in BM_math_powf_speccpu2017_latency()
374 d = powf(d * zero + cin->first, cin->second); in BM_math_pow_speccpu2017_latency()
401 f = logf(f * zero + *cin); in BM_math_logf_speccpu2017_latency()
467 f = log2f(f * zero + *cin); in BM_math_log2f_speccpu2017_latency()
504 f = sinf(f * zero + *cin); in BM_math_sinf_latency()
530 f = cosf(f * zero + *cin); in BM_math_cosf_latency()
[all …]

123