Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_floor.c35 int32_t i0,i1,j0; in floor() local
37 EXTRACT_WORDS(i0,i1,x); in floor()
42 if(i0>=0) {i0=i1=0;} in floor()
43 else if(((i0&0x7fffffff)|i1)!=0) in floor()
44 { i0=0xbff00000;i1=0;} in floor()
48 if(((i0&i)|i1)==0) return x; /* x is integral */ in floor()
51 i0 &= (~i); i1=0; in floor()
59 if((i1&i)==0) return x; /* x is integral */ in floor()
64 j = i1+(1<<(52-j0)); in floor()
65 if(j<i1) i0 +=1 ; /* got a carry */ in floor()
[all …]
Ds_ceil.c35 int32_t i0,i1,j0; in ceil() local
37 EXTRACT_WORDS(i0,i1,x); in ceil()
42 if(i0<0) {i0=0x80000000;i1=0;} in ceil()
43 else if((i0|i1)!=0) { i0=0x3ff00000;i1=0;} in ceil()
47 if(((i0&i)|i1)==0) return x; /* x is integral */ in ceil()
50 i0 &= (~i); i1=0; in ceil()
58 if((i1&i)==0) return x; /* x is integral */ in ceil()
63 j = i1 + (1<<(52-j0)); in ceil()
64 if(j<i1) i0+=1; /* got a carry */ in ceil()
65 i1 = j; in ceil()
[all …]
Ds_rint.c41 u_int32_t i,i1; in rint() local
43 EXTRACT_WORDS(i0,i1,x); in rint()
48 if(((i0&0x7fffffff)|i1)==0) return x; in rint()
49 i1 |= (i0&0x0fffff); in rint()
51 i0 |= ((i1|-i1)>>12)&0x80000; in rint()
60 if(((i0&i)|i1)==0) return x; /* x is integral */ in rint()
62 if(((i0&i)|i1)!=0) { in rint()
71 if(j0==19) i1 = 0x40000000; else in rint()
72 if(j0==18) i1 = 0x80000000; else in rint()
81 if((i1&i)==0) return x; /* x is integral */ in rint()
[all …]
Ds_trunc.c35 int32_t i0,i1,j0; in trunc() local
37 EXTRACT_WORDS(i0,i1,x); in trunc()
43 i1 = 0; in trunc()
47 if(((i0&i)|i1)==0) return x; /* x is integral */ in trunc()
49 i0 &= (~i); i1=0; in trunc()
57 if((i1&i)==0) return x; /* x is integral */ in trunc()
59 i1 &= (~i); in trunc()
61 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()
68 if((i1&i)==0) { /* x is integral */ in modf()
75 INSERT_WORDS(*iptr,i0,i1&(~i)); in modf()