Searched refs:i0 (Results 1 - 12 of 12) sorted by relevance

/bionic/libm/src/
H A Ds_ceilf.c28 int32_t i0,j0; local
31 GET_FLOAT_WORD(i0,x);
32 j0 = ((i0>>23)&0xff)-0x7f;
36 if(i0<0) {i0=0x80000000;}
37 else if(i0!=0) { i0=0x3f800000;}
41 if((i0&i)==0) return x; /* x is integral */
43 if(i0>0) i0
[all...]
H A Ds_floorf.c37 int32_t i0,j0; local
39 GET_FLOAT_WORD(i0,x);
40 j0 = ((i0>>23)&0xff)-0x7f;
44 if(i0>=0) {i0=0;}
45 else if((i0&0x7fffffff)!=0)
46 { i0=0xbf800000;}
50 if((i0&i)==0) return x; /* x is integral */
52 if(i0<0) i0
[all...]
H A Ds_rint.c39 int32_t i0,j0,sx; local
42 EXTRACT_WORDS(i0,i1,x);
43 sx = (i0>>31)&1;
44 j0 = ((i0>>20)&0x7ff)-0x3ff;
47 if(((i0&0x7fffffff)|i1)==0) return x;
48 i1 |= (i0&0x0fffff);
49 i0 &= 0xfffe0000;
50 i0 |= ((i1|-i1)>>12)&0x80000;
51 SET_HIGH_WORD(x,i0);
54 GET_HIGH_WORD(i0,
[all...]
H A Ds_truncf.c33 int32_t i0,j0; local
35 GET_FLOAT_WORD(i0,x);
36 j0 = ((i0>>23)&0xff)-0x7f;
40 i0 &= 0x80000000;
43 if((i0&i)==0) return x; /* x is integral */
45 i0 &= (~i);
51 SET_FLOAT_WORD(x,i0);
H A Ds_ceil.c34 int32_t i0,i1,j0; local
36 EXTRACT_WORDS(i0,i1,x);
37 j0 = ((i0>>20)&0x7ff)-0x3ff;
41 if(i0<0) {i0=0x80000000;i1=0;}
42 else if((i0|i1)!=0) { i0=0x3ff00000;i1=0;}
46 if(((i0&i)|i1)==0) return x; /* x is integral */
48 if(i0>0) i0
[all...]
H A Ds_floor.c34 int32_t i0,i1,j0; local
36 EXTRACT_WORDS(i0,i1,x);
37 j0 = ((i0>>20)&0x7ff)-0x3ff;
41 if(i0>=0) {i0=i1=0;}
42 else if(((i0&0x7fffffff)|i1)!=0)
43 { i0=0xbff00000;i1=0;}
47 if(((i0&i)|i1)==0) return x; /* x is integral */
49 if(i0<0) i0
[all...]
H A Ds_rintf.c33 int32_t i0,j0,sx; local
35 GET_FLOAT_WORD(i0,x);
36 sx = (i0>>31)&1;
37 j0 = ((i0>>23)&0xff)-0x7f;
40 if((i0&0x7fffffff)==0) return x;
43 GET_FLOAT_WORD(i0,t);
44 SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31));
H A Ds_trunc.c33 int32_t i0,i1,j0; local
35 EXTRACT_WORDS(i0,i1,x);
36 j0 = ((i0>>20)&0x7ff)-0x3ff;
40 i0 &= 0x80000000U;
45 if(((i0&i)|i1)==0) return x; /* x is integral */
47 i0 &= (~i); i1=0;
59 INSERT_WORDS(x,i0,i1);
H A Ds_modff.c28 int32_t i0,j0; local
30 GET_FLOAT_WORD(i0,x);
31 j0 = ((i0>>23)&0xff)-0x7f; /* exponent of x */
34 SET_FLOAT_WORD(*iptr,i0&0x80000000); /* *iptr = +-0 */
38 if((i0&i)==0) { /* x is integral */
45 SET_FLOAT_WORD(*iptr,i0&(~i));
H A Ds_modf.c35 int32_t i0,i1,j0; local
37 EXTRACT_WORDS(i0,i1,x);
38 j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */
41 INSERT_WORDS(*iptr,i0&0x80000000,0); /* *iptr = +-0 */
45 if(((i0&i)|i1)==0) { /* x is integral */
52 INSERT_WORDS(*iptr,i0&(~i),0);
71 INSERT_WORDS(*iptr,i0,i1&(~i));
H A Ds_exp2f.c95 uint32_t hx, hr, ix, i0; local
116 /* Reduce x, computing z, i0, and k. */
118 GET_FLOAT_WORD(i0, t);
119 i0 += TBLSIZE / 2;
120 k = (i0 >> TBLBITS) << 23;
121 i0 &= TBLSIZE - 1;
125 /* Compute r = exp2(y) = exp2ft[i0] * p(z). */
126 tv = exp2ft[i0];
H A Ds_exp2.c329 * by i0 = i + TBLSIZE/2. For cache efficiency, exp2t[] and eps[] are
341 uint32_t hx, hr, ix, lx, i0; local
363 /* Reduce x, computing z, i0, and k. */
365 GET_LOW_WORD(i0, t);
366 i0 += TBLSIZE / 2;
367 k = (i0 >> TBLBITS) << 20;
368 i0 = (i0 & (TBLSIZE - 1)) << 1;
372 /* Compute r = exp2(y) = exp2t[i0] * p(z - eps[i]). */
373 t = tbl[i0]; /* exp2
[all...]

Completed in 383 milliseconds