Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 184) sorted by relevance

12345678

/l4re-core-master/uclibc/lib/contrib/uclibc/libm/
A Ds_log1p.c97 int32_t k,hx,hu=0,ax; in log1p() local
102 k = 1; in log1p()
119 if(k!=0) { in log1p()
123 k = (hu>>20)-1023; in log1p()
129 k = (hu>>20)-1023; in log1p()
136 k += 1; in log1p()
144 if(f==zero) {if(k==0) return zero; in log1p()
145 else {c += k*ln2_lo; return k*ln2_hi+c;} in log1p()
148 if(k==0) return f-R; else in log1p()
149 return k*ln2_hi-((R-(k*ln2_lo+c))-f); in log1p()
[all …]
A Ds_scalbn.c31 int32_t k, hx, lx; in scalbln() local
35 if (k == 0) { /* 0 or subnormal x */ in scalbln()
40 k = ((hx & 0x7ff00000) >> 20) - 54; in scalbln()
42 if (k == 0x7ff) in scalbln()
44 k = k + n; in scalbln()
45 if (k > 0x7fe) in scalbln()
49 if (k > 0) { /* normal result */ in scalbln()
50 SET_HIGH_WORD(x, (hx & 0x800fffff) | (k << 20)); in scalbln()
53 if (k <= -54) { in scalbln()
58 k += 54; /* subnormal result */ in scalbln()
[all …]
A Ds_expm1.c128 int32_t k,xsb; in expm1() local
158 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1()
162 k = invln2*x+((xsb==0)?0.5:-0.5); in expm1()
163 t = k; in expm1()
174 else k = 0; in expm1()
182 if(k==0) return x - (x*e-hxs); /* c is 0 */ in expm1()
186 if(k== -1) return 0.5*(x-e)-0.5; in expm1()
187 if(k==1) { in expm1()
191 if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ in expm1()
199 if(k<20) { in expm1()
[all …]
A De_log.c83 int32_t k,hx,i,j; in __ieee754_log() local
88 k=0; in __ieee754_log()
93 k -= 54; x *= two54; /* subnormal number, scale up x */ in __ieee754_log()
97 k += (hx>>20)-1023; in __ieee754_log()
101 k += (i>>20); in __ieee754_log()
104 if(f==zero) {if(k==0) return zero; else {dk=(double)k; in __ieee754_log()
108 if(k==0) return f-R; else {dk=(double)k; in __ieee754_log()
112 dk = (double)k; in __ieee754_log()
123 if(k==0) return f-(hfsq-s*(hfsq+R)); else in __ieee754_log()
126 if(k==0) return f-s*(f-R); else in __ieee754_log()
A De_pow.c98 int32_t i,j,k,yisint,n; in __ieee754_pow() local
130 if(k>20) { in __ieee754_pow()
131 j = ly>>(52-k); in __ieee754_pow()
134 j = iy>>(20-k); in __ieee754_pow()
214 v = one/(ax+bp[k]); in __ieee754_pow()
221 t_l = ax - (t_h-bp[k]); in __ieee754_pow()
239 z_l = cp_l*p_h+p_l*cp+dp_l[k]; in __ieee754_pow()
242 t1 = (((z_h+z_l)+dp_h[k])+t); in __ieee754_pow()
244 t2 = z_l-(((t1-t)-dp_h[k])-z_h); in __ieee754_pow()
275 k = (i>>20)-0x3ff; in __ieee754_pow()
[all …]
A De_exp.c103 int32_t k=0; in __ieee754_exp() local
127 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; in __ieee754_exp()
129 k = invln2*x+halF[xsb]; in __ieee754_exp()
130 t = k; in __ieee754_exp()
139 else k = 0; in __ieee754_exp()
144 if(k==0) return one-((x*c)/(c-2.0)-x); in __ieee754_exp()
146 if(k >= -1021) { in __ieee754_exp()
149 SET_HIGH_WORD(y,hy+(k<<20)); /* add k to y's exponent */ in __ieee754_exp()
154 SET_HIGH_WORD(y,hy+((k+1000)<<20)); /* add k to y's exponent */ in __ieee754_exp()
A Dk_rem_pio2.c152 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
225 for(k=1;iq[jk-k]==0;k++); /* k = no. of terms needed */ in __kernel_rem_pio2()
227 for(i=jz+1;i<=jz+k;i++) { /* add q[jz+1] to q[jz+k] */ in __kernel_rem_pio2()
232 jz += k; in __kernel_rem_pio2()
259 for(fw=0.0,k=0;k<=jp&&k<=jz-i;k++) fw += PIo2[k]*q[i+k]; in __kernel_rem_pio2()
A De_log10.c59 int32_t i,k,hx; in __ieee754_log10() local
64 k=0; in __ieee754_log10()
69 k -= 54; x *= two54; /* subnormal number, scale up x */ in __ieee754_log10()
73 k += (hx>>20)-1023; in __ieee754_log10()
74 i = ((u_int32_t)k&0x80000000)>>31; in __ieee754_log10()
76 y = (double)(k+i); in __ieee754_log10()
A De_hypot.c50 int32_t j,k,ha,hb; in __ieee754_hypot() local
60 k=0; in __ieee754_hypot()
72 ha -= 0x25800000; hb -= 0x25800000; k += 600; in __ieee754_hypot()
85 k -= 1022; in __ieee754_hypot()
89 k -= 600; in __ieee754_hypot()
111 if(k!=0) { in __ieee754_hypot()
115 SET_HIGH_WORD(t1,high+(k<<20)); in __ieee754_hypot()
A De_log2.c76 int32_t k,hx,i,j; in __ieee754_log2() local
81 k=0; in __ieee754_log2()
86 k -= 54; x *= two54; /* subnormal number, scale up x */ in __ieee754_log2()
90 k += (hx>>20)-1023; in __ieee754_log2()
94 k += (i>>20); in __ieee754_log2()
95 dk = (double) k; in __ieee754_log2()
/l4re-core-master/lua/lib/contrib/src/
A Dlcode.c58 switch (e->k) { in tonumeral()
86 switch (e->k) { in luaK_exp2const()
551 if (k < fs->nk && ttypetag(&f->k[k]) == ttypetag(v) && in addk()
552 luaV_rawequalobj(&f->k[k], v)) in addk()
557 k = fs->nk; in addk()
564 setobj(L, &f->k[k], v); in addk()
567 return k; in addk()
722 e->k = VK; in str2K()
1261 if (k->k == VKSTR) in luaK_indexed()
1264 (t->k == VLOCAL || t->k == VNONRELOC || t->k == VUPVAL)); in luaK_indexed()
[all …]
A Dlparser.h64 #define vkisvar(k) (VLOCAL <= (k) && (k) <= VINDEXSTR) argument
65 #define vkisindexed(k) (VINDEXED <= (k) && (k) <= VINDEXSTR) argument
69 expkind k; member
104 TValue k; /* constant value (if any) */ member
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/locale/
A Dgen_locale.c712 for (k=0 ; k < NUM_NL_##CATEGORY ; k++) { \
723 for (k=0 ; k < NUM_NL_##CATEGORY ; k++) { \
888 int i, k, m; in do_lc_time() local
896 k = 0; in do_lc_time()
1039 int i, k, m; in do_lc_numeric() local
1047 k = 0; in do_lc_numeric()
1167 int i, k, m; in do_lc_monetary() local
1175 k = 0; in do_lc_monetary()
1248 int i, k, m; in do_lc_messages() local
1256 k = 0; in do_lc_messages()
[all …]
/l4re-core-master/l4util/lib/src/
A Dkip.c17 l4util_kip_kernel_is_ux(l4_kernel_info_t *k) in l4util_kip_kernel_is_ux() argument
19 const char *s = l4_kip_version_string(k); in l4util_kip_kernel_is_ux()
27 l4util_kip_kernel_has_feature(l4_kernel_info_t *k, const char *str) in l4util_kip_kernel_has_feature() argument
29 const char *s = l4_kip_version_string(k); in l4util_kip_kernel_has_feature()
44 l4util_kip_kernel_abi_version(l4_kernel_info_t *k) in l4util_kip_kernel_abi_version() argument
46 const char *s = l4_kip_version_string(k); in l4util_kip_kernel_abi_version()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/
A Dsem.c10 int k, r; in main() local
19 k = semget(IPC_PRIVATE, 10, IPC_CREAT | 0666 ); in main()
20 printf("semget(IPC_CREAT) = %d\n", k); in main()
22 if (k < 0) { in main()
28 r = semctl(k, 0, IPC_STAT, sd); in main()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-6/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-7/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-4.9/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-8/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-10/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/libsupc++/
A Dhash_bytes.cc83 size_t k = unaligned_load(buf); in _Hash_bytes() local
84 k *= m; in _Hash_bytes()
85 k ^= k >> 24; in _Hash_bytes()
86 k *= m; in _Hash_bytes()
88 hash ^= k; in _Hash_bytes()
/l4re-core-master/uclibc/lib/contrib/uclibc/libcrypt/
A Ddes.c220 int i, j, b, k, inbit, obit; in des_init() local
282 for (k = 0; k < 8; k++) { in des_init()
284 *(il = &ip_maskl[k][i]) = 0L; in des_init()
285 *(ir = &ip_maskr[k][i]) = 0L; in des_init()
286 *(fl = &fp_maskl[k][i]) = 0L; in des_init()
287 *(fr = &fp_maskr[k][i]) = 0L; in des_init()
289 inbit = 8 * k + j; in des_init()
306 inbit = 8 * k + j; in des_init()
316 *(il = &comp_maskl[k][i]) = 0L; in des_init()
317 *(ir = &comp_maskr[k][i]) = 0L; in des_init()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/regex/
A Dtst-regex2.c102 int j, k, l; in do_test() local
104 for (k = 0; k < (i == 1 ? 1 : 10); ++k, ++l) { in do_test()
212 int j, k, l; in do_test() local
214 for (k = 0; k < (i == 1 ? 1 : 10); ++k, ++l) { in do_test()

Completed in 26 milliseconds

12345678