Searched refs:i1 (Results 1 – 7 of 7) sorted by relevance
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_floor.c | 35 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 …]
|
D | s_ceil.c | 35 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 …]
|
D | s_rint.c | 41 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 …]
|
D | s_trunc.c | 35 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()
|
D | s_modf.c | 35 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()
|
/bionic/tests/ |
D | search_test.cpp | 91 void* i1 = tsearch(&n1, &root, node_cmp); in TEST() local 92 ASSERT_NE(nullptr, i1); in TEST() 95 ASSERT_EQ(i1, tfind(&n1, &root, node_cmp)); in TEST()
|
D | stdio_test.cpp | 580 int i1; in TEST() local 583 ASSERT_EQ(3, sscanf(" hello 123 1.23 ", "%s %i %lf %s", s1, &i1, &d1, s2)); in TEST() 585 ASSERT_EQ(123, i1); in TEST()
|