/picolibc-3.7.0-3.6.0/newlib/libm/common/ |
D | s_remquo.c | 89 __uint32_t lx,ly,lz,q,sxy; in remquo64() local 92 EXTRACT_WORDS(hy,ly,y); in remquo64() 99 if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */ in remquo64() 100 ((hy|((ly|-ly)>>31))>0x7ff00000)) { /* or y is NaN */ in remquo64() 105 if((hx<hy)||(lx<ly)) { in remquo64() 109 if(lx==ly) { in remquo64() 127 for (iy = -1043, i=ly; i>0; i<<=1) iy -=1; in remquo64() 151 hy = (hy<<n)|(ly>>(32-n)); in remquo64() 152 ly <<= n; in remquo64() 154 hy = ly<<(n-32); in remquo64() [all …]
|
D | s_nextafter.c | 59 __uint32_t lx,ly; in nextafter64() local 62 EXTRACT_WORDS(hy,ly,y); in nextafter64() 67 ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */ in nextafter64() 76 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ in nextafter64() 84 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */ in nextafter64()
|
/picolibc-3.7.0-3.6.0/newlib/libm/math/ |
D | s_fmod.c | 32 __uint32_t lx, ly, lz; in fmod64() local 35 EXTRACT_WORDS(hy, ly, y); in fmod64() 47 if ((hy | ly) == 0) /* y=0, domain error */ in fmod64() 51 if ((hx < hy) || (lx < ly)) in fmod64() 53 if (lx == ly) in fmod64() 72 for (iy = -1043, i = ly; i > 0; i <<= 1) in fmod64() 99 hy = (hy << n) | (ly >> (32 - n)); in fmod64() 100 ly <<= n; in fmod64() 102 hy = ly << (n - 32); in fmod64() 103 ly = 0; in fmod64() [all …]
|
D | s_atan2.c | 58 __uint32_t lx, ly; in atan264() local 62 EXTRACT_WORDS(hy, ly, y); in atan264() 65 ((iy | ((ly | -ly) >> 31)) > 0x7ff00000)) /* x or y is NaN */ in atan264() 72 if ((iy | ly) == 0) { in atan264()
|
D | s_pow.c | 104 __uint32_t lx, ly; in pow64() local 107 EXTRACT_WORDS(hy, ly, y); in pow64() 112 if ((iy | ly) == 0) { in pow64() 120 iy > 0x7ff00000 || ((iy == 0x7ff00000) && (ly != 0))) { in pow64() 139 __uint32_t uj = ly >> (52 - k); in pow64() 140 if ((uj << (52 - k)) == ly) in pow64() 142 } else if (ly == 0) { in pow64() 151 if (ly == 0) { in pow64()
|
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/ |
D | e_fmodl.c | 27 u_int64_t lx,ly,lz; in fmodl() local 30 GET_LDOUBLE_WORDS64(hy,ly,y); in fmodl() 45 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ in fmodl() 46 if(lx==ly) in fmodl() 62 for (iy = -16431, i=ly; i>0; i<<=1) iy -=1; in fmodl() 86 hy = (hy<<n)|(ly>>(64-n)); in fmodl() 87 ly <<= n; in fmodl() 89 hy = ly<<(n-64); in fmodl() 90 ly = 0; in fmodl() 97 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl() [all …]
|
D | s_remquol.c | 54 uint64_t lx,ly,lz; in remquol() local 59 GET_LDOUBLE_WORDS64(hy,ly,y); in remquol() 65 SET_LDOUBLE_WORDS64(y,hy,ly); in remquol() 68 if((hy|ly)==0 || /* y=0 */ in remquol() 71 (((hy&0x0000ffffffffffffLL)&~LDBL_NBIT)|ly)!=0)) /* or y is NaN */ in remquol() 77 lx<ly))) { in remquol() 82 lx==ly) { in remquol() 100 GET_LDOUBLE_WORDS64(hy,ly,y); in remquol() 115 hz=_hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 120 hz=_hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
|
D | s_nextafterl.c | 26 u_int64_t lx,ly; in nextafterl() local 29 GET_LDOUBLE_WORDS64(hy,ly,y); in nextafterl() 34 ((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0)) /* y is nan */ in nextafterl() 43 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ in nextafterl() 51 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */ in nextafterl()
|
D | s_nexttowardf.c | 20 u_int64_t ly; in nexttowardf() local 23 GET_LDOUBLE_WORDS64(hy,ly,y); in nexttowardf() 31 if((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0) { /* y is nan */ in nexttowardf()
|
D | s_nexttoward.c | 28 u_int64_t ly; in nexttoward64() local 31 GET_LDOUBLE_WORDS64(hy,ly,y); in nexttoward64() 39 if((iy>=0x7fff000000000000LL)&&((iy-0x7fff000000000000LL)|ly)!=0) { /* y is nan */ in nexttoward64()
|
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/ |
D | s_remquol.c | 53 uint32_t lx,ly,lz; in remquol() local 58 GET_LDOUBLE_WORDS(esy,hy,ly,y); in remquol() 67 if((esy|hy|ly)==0 || /* y=0 */ in remquol() 70 ((hy&~LDBL_NBIT)|ly)!=0)) { /* or y is NaN */ in remquol() 78 lx<ly))) { in remquol() 82 if(hx==hy && lx==ly) { in remquol() 100 GET_LDOUBLE_WORDS(esy,hy,ly,y); in remquol() 115 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 120 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol()
|
D | s_nextafterl.c | 26 u_int32_t lx,ly; in nextafterl() local 30 GET_LDOUBLE_WORDS(esy,hy,ly,y); in nextafterl() 35 ((iy==0x7fff)&&(((hy&0x7fffffff)|ly)!=0))) /* y is nan */ in nextafterl() 44 if(esy<0||(ix>iy||((ix==iy) && (hx>hy||((hx==hy)&&(lx>ly)))))) { in nextafterl() 59 if(esy>=0||(ix>iy||((ix==iy)&&(hx>hy||((hx==hy)&&(lx>ly)))))){ in nextafterl()
|
D | s_nexttowardf.c | 19 u_int32_t hy,ly,esy; in nexttowardf() local 22 GET_LDOUBLE_WORDS(esy,hy,ly,y); in nexttowardf() 28 (iy>=0x7fff&&((hy|ly)!=0))) /* y is nan */ in nexttowardf()
|
D | e_fmodl.c | 56 uint32_t lx,ly,lz; in fmodl() local 105 ly = uy.bits.ext_fracl; in fmodl() 111 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl() 119 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl()
|
D | s_nexttoward.c | 26 u_int32_t lx,hy,ly,esy; in nexttoward() local 29 GET_LDOUBLE_WORDS(esy,hy,ly,y); in nexttoward() 35 ((iy>=0x7fff)&&(hy|ly)!=0)) /* y is nan */ in nexttoward()
|