Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/
Ds_ceill.c29 int64_t i0,i1,jj0; in ceill() local
31 GET_LDOUBLE_WORDS64(i0,i1,x); in ceill()
36 if(i0<0) {i0=0x8000000000000000ULL;i1=0;} in ceill()
37 else if((i0|i1)!=0) { i0=0x3fff000000000000ULL;i1=0;} in ceill()
41 if(((i0&i)|i1)==0) return x; /* x is integral */ in ceill()
44 i0 &= (~i); i1=0; in ceill()
52 if((i1&i)==0) return x; /* x is integral */ in ceill()
57 j = i1+(1LL<<(112-jj0)); in ceill()
58 if(j<(u_int64_t)i1) i0 +=1 ; /* got a carry */ in ceill()
59 i1=j; in ceill()
[all …]
Ds_floorl.c29 int64_t i0,i1,jj0; in floorl() local
31 GET_LDOUBLE_WORDS64(i0,i1,x); in floorl()
38 else if(((i0&0x7fffffffffffffffLL)|i1)!=0) in floorl()
43 if(((i0&i)|i1)==0) return x; /* x is integral */ in floorl()
46 i0 &= (~i); i1=0; in floorl()
54 if((i1&i)==0) return x; /* x is integral */ in floorl()
59 j = i1+(1LL<<(112-jj0)); in floorl()
60 if(j<(u_int64_t)i1) i0 +=1 ; /* got a carry */ in floorl()
61 i1=j; in floorl()
64 i1 &= (~i); in floorl()
[all …]
Ds_modfl.c30 int64_t i0,i1,jj0; in modfl() local
32 GET_LDOUBLE_WORDS64(i0,i1,x); in modfl()
41 if(((i0&i)|i1)==0) { /* x is integral */ in modfl()
54 if (jj0 == 0x4000 && ((i0 & 0x0000ffffffffffffLL) | i1)) in modfl()
61 if((i1&i)==0) { /* x is integral */ in modfl()
67 SET_LDOUBLE_WORDS64(*iptr,i0,i1&(~i)); in modfl()
De_tgammal.c25 int64_t i0,i1; in tgammal() local
30 GET_LDOUBLE_WORDS64(i0,i1,x); in tgammal()
31 if (((i0&0x7fffffffffffffffLL)|i1) == 0) in tgammal()
37 if ((uint64_t) i0==0xffff000000000000ULL && i1==0) in tgammal()
/picolibc-3.7.0-3.6.0/newlib/libm/math/
Ds_floor.c72 __int32_t i0, i1, j0, j; in floor64() local
74 EXTRACT_WORDS(i0, i1, x); in floor64()
79 i0 = i1 = 0; in floor64()
80 } else if (((i0 & 0x7fffffff) | i1) != 0) { in floor64()
82 i1 = 0; in floor64()
86 if (((i0 & i) | i1) == 0) in floor64()
91 i1 = 0; in floor64()
100 if ((i1 & i) == 0) in floor64()
106 j = i1 + ((__uint32_t) 1 << (52 - j0)); in floor64()
107 if ((__uint32_t) j < (__uint32_t) i1) in floor64()
[all …]
Ds_ceil.c30 __int32_t i0, i1, j0, j; in ceil64() local
32 EXTRACT_WORDS(i0, i1, x); in ceil64()
38 i1 = 0; in ceil64()
39 } else if ((i0 | i1) != 0) { in ceil64()
41 i1 = 0; in ceil64()
45 if (((i0 & i) | i1) == 0) in ceil64()
50 i1 = 0; in ceil64()
59 if ((i1 & i) == 0) in ceil64()
65 j = i1 + ((__uint32_t) 1 << (52 - j0)); in ceil64()
66 if ((__uint32_t) j < (__uint32_t) i1) in ceil64()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Ds_rint.c86 __uint32_t i,i1; in rint64() local
89 EXTRACT_WORDS(i0,i1,x); in rint64()
94 if(((i0&0x7fffffff)|i1)==0) return x; /* x == 0 */ in rint64()
95 i1 |= (i0&0x0fffff); in rint64()
97 i0 |= ((i1|-i1)>>12)&0x80000; in rint64()
106 if(((i0&i)|i1)==0) return x; /* x is integral */ in rint64()
108 if(((i0&i)|i1)!=0) { in rint64()
110 if(j0==19) i1 = 0x80000000; else i1 = 0; in rint64()
125 if((i1&i)==0) return x; /* x is integral */ in rint64()
127 if((i1&i)!=0) i1 = (i1&(~i))|((0x40000000)>>(j0-20)); in rint64()
[all …]
Ds_modf.c69 __int32_t i0,i1,j0; in modf64() local
71 EXTRACT_WORDS(i0,i1,x); in modf64()
79 if(((i0&i)|i1)==0) { /* x is integral */ in modf64()
95 if((i1&i)==0) { /* x is integral */ in modf64()
100 INSERT_WORDS(*iptr,i0,i1&(~i)); in modf64()
Ds_llrint.c43 __uint32_t i1; in llrint64() local
48 EXTRACT_WORDS(i0,i1,x); in llrint64()
80 ((long long int) i1 << (j0 - 52)); in llrint64()
86 EXTRACT_WORDS (i0, i1, t); in llrint64()
95 | SAFE_RIGHT_SHIFT (i1, (52 - j0)); in llrint64()
Ds_lrint.c83 __uint32_t i1; in lrint64() local
88 EXTRACT_WORDS(i0,i1,x); in lrint64()
123 ((long int) i1 << (j0 - 52)); in lrint64()
138 EXTRACT_WORDS (i0, i1, t); in lrint64()
150 | SAFE_RIGHT_SHIFT (i1, (52 - j0)); in lrint64()
Dsf_rint.c28 __uint32_t i,i1,ix; in rintf() local
39 i1 = (i0&0x07fffff); in rintf()
41 i0 |= ((i1|-i1)>>9)&0x400000; in rintf()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/
Ds_ceill.c29 int32_t i1,jj0; in ceill() local
31 GET_LDOUBLE_WORDS(se,i0,i1,x); in ceill()
37 if(sx) {se=0x8000;i0=0;i1=0;} in ceill()
38 else if((i0|i1)!=0) { se=0x3fff;i0=0x80000000L;i1=0;} in ceill()
42 if(((i0&i)|i1)==0) return x; /* x is integral */ in ceill()
53 i0 &= (~i); i1=0; in ceill()
61 if((i1&i)==0) return x; /* x is integral */ in ceill()
66 j = i1 + (1<<(63-jj0)); in ceill()
67 if(j<(u_int32_t)i1) i0+=1; /* got a carry */ in ceill()
68 i1 = j; in ceill()
[all …]
Ds_floorl.c29 int32_t i1,jj0; in floorl() local
31 GET_LDOUBLE_WORDS(se,i0,i1,x); in floorl()
39 else if(((se&0x7fff)|i0|i1)!=0) in floorl()
44 if(((i0&i)|i1)==0) return x; /* x is integral */ in floorl()
55 i0 &= (~i); i1=0; in floorl()
63 if((i1&i)==0) return x; /* x is integral */ in floorl()
68 j = i1+(1<<(63-jj0)); in floorl()
69 if(j<(u_int32_t)i1) i0 +=1 ; /* got a carry */ in floorl()
70 i1=j; in floorl()
73 i1 &= (~i); in floorl()
[all …]
Ds_modfl.c30 int32_t i0,i1,jj0; in modfl() local
32 GET_LDOUBLE_WORDS(se,i0,i1,x); in modfl()
40 if(((i0&i)|i1)==0) { /* x is integral */ in modfl()
52 if (jj0 == 0x4000 && ((i0 & 0x7fffffff) | i1)) in modfl()
58 if((i1&i)==0) { /* x is integral */ in modfl()
63 SET_LDOUBLE_WORDS(*iptr,se,i0,i1&(~i)); in modfl()
De_atanhl.c42 u_int32_t se,i0,i1; in atanhl() local
43 GET_LDOUBLE_WORDS(se,i0,i1,x); in atanhl()
45 if ((ix+((((i0&0x7fffffff)|i1)|(-((i0&0x7fffffff)|i1)))>>31))>0x3fff) in atanhl()
De_acoshl.c35 u_int32_t se,i0,i1; in acoshl() local
36 GET_LDOUBLE_WORDS(se,i0,i1,x); in acoshl()
44 } else if(((se-0x3fff)|i0|i1)==0) { in acoshl()
De_sinhl.c39 u_int32_t jx,ix,i0,i1; in sinhl() local
42 GET_LDOUBLE_WORDS(jx,i0,i1,x); in sinhl()
66 && i1 <= 0x31aec0ea)))) { in sinhl()
De_lgammal_r.c204 u_int32_t se, i0, i1; in sin_pi() local
206 GET_LDOUBLE_WORDS (se, i0, i1, x); in sin_pi()
234 GET_LDOUBLE_WORDS (se, i0, i1, z); in sin_pi()
235 n = i1 & 1; in sin_pi()
271 u_int32_t se, i0, i1; in lgammal_r() local
274 GET_LDOUBLE_WORDS (se, i0, i1, x); in lgammal_r()
277 if ((ix | i0 | i1) == 0) in lgammal_r()
312 if ((((ix - 0x3fff8000) | i0 | i1) == 0) in lgammal_r()
313 || (((ix - 0x40008000) | i0 | i1) == 0)) in lgammal_r()
Ds_erfl.c251 u_int32_t se, i0, i1; in erfl() local
253 GET_LDOUBLE_WORDS (se, i0, i1, x); in erfl()
315 GET_LDOUBLE_WORDS (i, i0, i1, z); in erfl()
316 i1 = 0; in erfl()
317 SET_LDOUBLE_WORDS (z, i, i0, i1); in erfl()
331 u_int32_t se, i0, i1; in erfcl() local
333 GET_LDOUBLE_WORDS (se, i0, i1, x); in erfcl()
410 GET_LDOUBLE_WORDS (hx, i0, i1, z); in erfcl()
411 i1 = 0; in erfcl()
413 SET_LDOUBLE_WORDS (z, hx, i0, i1); in erfcl()
/picolibc-3.7.0-3.6.0/test/
Dmath-funcs.c48 int i1; variable
84 d1 = frexp (d1, &i1); in main()
95 d1 = ldexp (d1, i1); in main()
102 i1 = finite (d1); in main()
103 i1 = finitef (f1); in main()
106 i1 = finitel (l1); in main()
109 i1 = isinfl (l1); in main()
112 i1 = isnanl (l1); in main()
115 i1 = isinff (f1); in main()
116 i1 = isnanf (f1); in main()
[all …]