/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_fmod.c | 34 u_int32_t lx,ly,lz; in __ieee754_fmod() local 36 EXTRACT_WORDS(hx,lx,x); in __ieee754_fmod() 47 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ in __ieee754_fmod() 48 if(lx==ly) in __ieee754_fmod() 55 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; in __ieee754_fmod() 76 hx = (hx<<n)|(lx>>(32-n)); in __ieee754_fmod() 77 lx <<= n; in __ieee754_fmod() 79 hx = lx<<(n-32); in __ieee754_fmod() 80 lx = 0; in __ieee754_fmod() 99 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in __ieee754_fmod() [all …]
|
D | s_nextafter.c | 33 u_int32_t lx,ly; in nextafter() local 35 EXTRACT_WORDS(hx,lx,x); in nextafter() 40 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ in nextafter() 44 if((ix|lx)==0) { /* x == 0 */ in nextafter() 50 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ in nextafter() 51 if(lx==0) hx -= 1; in nextafter() 52 lx -= 1; in nextafter() 54 lx += 1; in nextafter() 55 if(lx==0) hx += 1; in nextafter() 58 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */ in nextafter() [all …]
|
D | s_remquo.c | 35 u_int32_t lx,ly,lz,q,sxy; in remquo() local 37 EXTRACT_WORDS(hx,lx,x); in remquo() 49 if((hx<hy)||(lx<ly)) { in remquo() 53 if(lx==ly) { in remquo() 62 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; in remquo() 83 hx = (hx<<n)|(lx>>(32-n)); in remquo() 84 lx <<= n; in remquo() 86 hx = lx<<(n-32); in remquo() 87 lx = 0; in remquo() 107 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo() [all …]
|
D | s_ilogb.c | 30 int32_t hx,lx,ix; in ilogb() local 32 EXTRACT_WORDS(hx,lx,x); in ilogb() 35 if((hx|lx)==0) in ilogb() 39 for (ix = -1043; lx>0; lx<<=1) ix -=1; in ilogb() 46 else if (hx>0x7ff00000 || lx!=0) return FP_ILOGBNAN; in ilogb()
|
D | s_nexttoward.c | 38 u_int32_t lx; in nexttoward() local 40 EXTRACT_WORDS(hx,lx,x); in nexttoward() 44 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || in nexttoward() 55 if(lx==0) hx -= 1; in nexttoward() 56 lx -= 1; in nexttoward() 58 lx += 1; in nexttoward() 59 if(lx==0) hx += 1; in nexttoward() 66 INSERT_WORDS(x,hx,lx); in nexttoward() 70 INSERT_WORDS(x,hx,lx); in nexttoward()
|
D | e_fmodl.c | 70 manl_t lx,ly,lz; in fmodl() local 114 lx = ux.bits.manl; in fmodl() 121 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl() 122 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in fmodl() 126 hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; in fmodl() 129 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in fmodl() 130 if(hz>=0) {hx=hz;lx=lz;} in fmodl() 133 if((hx|lx)==0) /* return sign(x)*0 */ in fmodl() 136 hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx; in fmodl() 140 ux.bits.manl = lx; in fmodl()
|
D | s_remquol.c | 73 manl_t lx,ly,lz; in remquol() local 122 lx = ux.bits.manl; in remquol() 129 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 130 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in remquol() 131 else {hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol() 134 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 135 if(hz>=0) {hx=hz;lx=lz;q++;} in remquol() 138 if((hx|lx)==0) { /* return sign(x)*0 */ in remquol() 144 hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx; in remquol() 148 ux.bits.manl = lx; in remquol()
|
D | e_atan2.c | 65 u_int32_t lx,ly; in __ieee754_atan2() local 67 EXTRACT_WORDS(hx,lx,x); in __ieee754_atan2() 71 if(((ix|((lx|-lx)>>31))>0x7ff00000)|| in __ieee754_atan2() 74 if(hx==0x3ff00000&&lx==0) return atan(y); /* x=1.0 */ in __ieee754_atan2() 87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2()
|
D | e_atanh.c | 49 u_int32_t lx; in __ieee754_atanh() local 50 EXTRACT_WORDS(hx,lx,x); in __ieee754_atanh() 52 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */ in __ieee754_atanh()
|
D | s_logb.c | 33 int32_t lx,ix; in logb() local 34 EXTRACT_WORDS(ix,lx,x); in logb() 36 if((ix|lx)==0) return -1.0/fabs(x); in logb()
|
D | s_frexp.c | 37 int32_t hx, ix, lx; in frexp() local 38 EXTRACT_WORDS(hx,lx,x); in frexp() 41 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */ in frexp()
|
D | s_cexp.c | 45 uint32_t hx, hy, lx, ly; in cexp() local 56 EXTRACT_WORDS(hx, lx, x); in cexp() 58 if (((hx & 0x7fffffff) | lx) == 0) in cexp() 62 if (lx != 0 || (hx & 0x7fffffff) != 0x7ff00000) { in cexp()
|
D | e_acosh.c | 46 u_int32_t lx; in __ieee754_acosh() local 47 EXTRACT_WORDS(hx,lx,x); in __ieee754_acosh() 55 } else if(((hx-0x3ff00000)|lx)==0) { in __ieee754_acosh()
|
D | e_log2.c | 46 u_int32_t lx; in __ieee754_log2() local 48 EXTRACT_WORDS(hx,lx,x); in __ieee754_log2() 52 if (((hx&0x7fffffff)|lx)==0) in __ieee754_log2() 59 if (hx == 0x3ff00000 && lx == 0) in __ieee754_log2()
|
D | e_jn.c | 56 int32_t i,hx,ix,lx, sgn; in __ieee754_jn() local 63 EXTRACT_WORDS(hx,lx,x); in __ieee754_jn() 66 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; in __ieee754_jn() 76 if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */ in __ieee754_jn() 217 int32_t i,hx,ix,lx; in __ieee754_yn() local 221 EXTRACT_WORDS(hx,lx,x); in __ieee754_yn() 224 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; in __ieee754_yn() 226 if((ix|lx)==0) return -one/vzero; in __ieee754_yn()
|
D | e_log10.c | 46 u_int32_t lx; in __ieee754_log10() local 48 EXTRACT_WORDS(hx,lx,x); in __ieee754_log10() 52 if (((hx&0x7fffffff)|lx)==0) in __ieee754_log10() 59 if (hx == 0x3ff00000 && lx == 0) in __ieee754_log10()
|
D | s_scalbn.c | 37 int32_t k,hx,lx; in scalbn() local 38 EXTRACT_WORDS(hx,lx,x); in scalbn() 41 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */ in scalbn()
|
D | e_remainder.c | 38 u_int32_t sx,lx,lp; in __ieee754_remainder() local 41 EXTRACT_WORDS(hx,lx,x); in __ieee754_remainder() 56 if (((hx-hp)|(lx-lp))==0) return zero*x; in __ieee754_remainder()
|
D | s_ccosh.c | 55 int32_t hx, hy, ix, iy, lx, ly; in ccosh() local 60 EXTRACT_WORDS(hx, lx, x); in ccosh() 99 if ((ix | lx) == 0) /* && iy >= 0x7ff00000 */ in ccosh() 132 if (ix == 0x7ff00000 && lx == 0) { in ccosh()
|
D | s_csinh.c | 55 int32_t hx, hy, ix, iy, lx, ly; in csinh() local 60 EXTRACT_WORDS(hx, lx, x); in csinh() 98 if ((ix | lx) == 0) /* && iy >= 0x7ff00000 */ in csinh() 131 if (ix == 0x7ff00000 && lx == 0) { in csinh()
|
D | s_exp2.c | 347 uint32_t hx, ix, lx, i0; in exp2() local 355 GET_LOW_WORD(lx,x); in exp2() 356 if(((ix & 0xfffff) | lx) != 0 || (hx & 0x80000000) == 0) in exp2()
|
D | s_ctanh.c | 81 uint32_t hx, ix, lx; in ctanh() local 86 EXTRACT_WORDS(hx, lx, x); in ctanh() 106 if ((ix & 0xfffff) | lx) /* x is NaN */ in ctanh()
|
D | e_exp.c | 118 u_int32_t lx; in __ieee754_exp() local 119 GET_LOW_WORD(lx,x); in __ieee754_exp() 120 if(((hx&0xfffff)|lx)!=0) in __ieee754_exp()
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | s_logl.c | 459 uint64_t lx, llx; in k_logl() local 463 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in k_logl() 470 if (((hx & 0x7fff) | lx | llx) == 0) in k_logl() 476 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in k_logl() 491 i = (lx + (1LL << (L2I - 2))) >> (L2I - 1); in k_logl() 522 INSERT_LDBL128_WORDS(x_hi, 0x3fff, lx, in k_logl() 571 uint64_t lx, llx; in log1pl() local 576 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in log1pl() 580 if (ax == 0x3fff && (lx | llx) == 0) in log1pl() 604 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in log1pl() [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | ldexp.c | 100 int32_t k,hx,lx; in ldexp() local 101 EXTRACT_WORDS(hx,lx,x); in ldexp() 104 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */ in ldexp()
|