Home
last modified time | relevance | path

Searched refs:i1 (Results 1 – 5 of 5) sorted by relevance

/bionic/libm/src/
Ds_floor.c34 int32_t i0,i1,j0; in floor() local
36 EXTRACT_WORDS(i0,i1,x); in floor()
41 if(i0>=0) {i0=i1=0;} in floor()
42 else if(((i0&0x7fffffff)|i1)!=0) in floor()
43 { i0=0xbff00000;i1=0;} in floor()
47 if(((i0&i)|i1)==0) return x; /* x is integral */ in floor()
50 i0 &= (~i); i1=0; in floor()
58 if((i1&i)==0) return x; /* x is integral */ in floor()
63 j = i1+(1<<(52-j0)); in floor()
64 if(j<i1) i0 +=1 ; /* got a carry */ in floor()
[all …]
Ds_ceil.c34 int32_t i0,i1,j0; in ceil() local
36 EXTRACT_WORDS(i0,i1,x); in ceil()
41 if(i0<0) {i0=0x80000000;i1=0;} in ceil()
42 else if((i0|i1)!=0) { i0=0x3ff00000;i1=0;} in ceil()
46 if(((i0&i)|i1)==0) return x; /* x is integral */ in ceil()
49 i0 &= (~i); i1=0; in ceil()
57 if((i1&i)==0) return x; /* x is integral */ in ceil()
62 j = i1 + (1<<(52-j0)); in ceil()
63 if(j<i1) i0+=1; /* got a carry */ in ceil()
64 i1 = j; in ceil()
[all …]
Ds_rint.c40 u_int32_t i,i1; in rint() local
42 EXTRACT_WORDS(i0,i1,x); in rint()
47 if(((i0&0x7fffffff)|i1)==0) return x; in rint()
48 i1 |= (i0&0x0fffff); in rint()
50 i0 |= ((i1|-i1)>>12)&0x80000; in rint()
59 if(((i0&i)|i1)==0) return x; /* x is integral */ in rint()
61 if(((i0&i)|i1)!=0) { in rint()
70 if(j0==19) i1 = 0x40000000; else in rint()
71 if(j0==18) i1 = 0x80000000; else in rint()
80 if((i1&i)==0) return x; /* x is integral */ in rint()
[all …]
Ds_trunc.c33 int32_t i0,i1,j0; in trunc() local
35 EXTRACT_WORDS(i0,i1,x); in trunc()
41 i1 = 0; in trunc()
45 if(((i0&i)|i1)==0) return x; /* x is integral */ in trunc()
47 i0 &= (~i); i1=0; in trunc()
55 if((i1&i)==0) return x; /* x is integral */ in trunc()
57 i1 &= (~i); in trunc()
59 INSERT_WORDS(x,i0,i1); in trunc()
Ds_modf.c35 int32_t i0,i1,j0; in modf() local
37 EXTRACT_WORDS(i0,i1,x); in modf()
45 if(((i0&i)|i1)==0) { /* x is integral */ in modf()
64 if((i1&i)==0) { /* x is integral */ in modf()
71 INSERT_WORDS(*iptr,i0,i1&(~i)); in modf()