Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
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_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_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()
/bionic/tests/
Dsys_sem_test.cpp105 semid_ds i1; in TEST() local
109 arg.buf = &i1; in TEST()
Dsearch_test.cpp91 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()
Dstdio_test.cpp1058 int i1, i2; in TEST() member
1068 EXPECT_EQ(123, i1); in TEST()
1084 s.s1, &s.i1, &s.i2, s.cs1, s.s2, &s.c1, &s.d1, &s.f1, s.s3)); in TEST()
1090 s.s1, &s.i1, &s.i2, s.cs1, s.s2, &s.c1, &s.d1, &s.f1, s.s3)); in TEST()