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/
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_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()
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()
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_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_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_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_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()
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_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()
Ds_rintl.c54 static const float zero[2] = { 0.0, -0.0 }; variable
89 return (zero[sign]); in rintl()
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_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()
Ds_truncl.c39 static const float zero[] = { 0.0, -0.0 }; variable
50 u.e = zero[u.bits.sign]; in truncl()
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()
/bionic/tests/
Dsearch_test.cpp153 q_node zero(0); in TEST() local
159 insque(&zero, nullptr); in TEST()
160 insque(&one, &zero); in TEST()
164 for (q_node* q = &zero; q != nullptr; q = q->next) { in TEST()
176 q_node* head = &zero; in TEST()
187 remque(&zero); in TEST()
191 zero.next = &zero; in TEST()
192 zero.prev = &zero; in TEST()
194 insque(&one, &zero); in TEST()
214 remque(&zero); in TEST()
Dsys_param_test.cpp35 uint32_t zero = 0; in TEST() local
36 ASSERT_TRUE(powerof2(zero)); in TEST()
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_log.c364 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0;
369 if (x == zero) /* log(0) = -Inf */
370 return (-one/zero);
372 return (zero/zero);
/bionic/libc/malloc_debug/
DAndroid.bp46 // -Wno-error=format-zero-length needed for gcc to compile.
50 "-Wno-error=format-zero-length",
104 // -Wno-error=format-zero-length needed for gcc to compile.
109 "-Wno-error=format-zero-length",
160 "-Wno-error=format-zero-length",
/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()

123