/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_fmod.c | 32 u_int32_t lx,ly,lz; in __ieee754_fmod() local 34 EXTRACT_WORDS(hx,lx,x); in __ieee754_fmod() 45 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ in __ieee754_fmod() 46 if(lx==ly) in __ieee754_fmod() 53 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; in __ieee754_fmod() 74 hx = (hx<<n)|(lx>>(32-n)); in __ieee754_fmod() 75 lx <<= n; in __ieee754_fmod() 77 hx = lx<<(n-32); in __ieee754_fmod() 78 lx = 0; in __ieee754_fmod() 97 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 123 lx = ux.bits.manl; in remquol() 131 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 132 if(hz<0){hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx;} in remquol() 133 else {hx = hz+hz+(lz>>MANL_SHIFT); lx = lz+lz; q++;} in remquol() 136 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquol() 137 if(hz>=0) {hx=hz;lx=lz;q++;} in remquol() 140 if((hx|lx)==0) { /* return sign(x)*0 */ in remquol() 146 hx = hx+hx+(lx>>MANL_SHIFT); lx = lx+lx; in remquol() 150 ux.bits.manl = lx; in remquol()
|
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 | 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_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 | 43 uint32_t hx, hy, lx, ly; in cexp() local 54 EXTRACT_WORDS(hx, lx, x); in cexp() 56 if (((hx & 0x7fffffff) | lx) == 0) in cexp() 60 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() 225 if((ix|lx)==0) return -one/zero; in __ieee754_yn()
|
D | s_scalbn.c | 39 int32_t k,hx,lx; in scalbn() local 40 EXTRACT_WORDS(hx,lx,x); in scalbn() 43 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */ in scalbn()
|
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_csinh.c | 51 int32_t hx, hy, ix, iy, lx, ly; in csinh() local 56 EXTRACT_WORDS(hx, lx, x); in csinh() 94 if ((ix | lx) == 0 && iy >= 0x7ff00000) in csinh() 103 if (((hx & 0xfffff) | lx) == 0) in csinh() 130 if (ix >= 0x7ff00000 && ((hx & 0xfffff) | lx) == 0) { in csinh()
|
D | s_ccosh.c | 51 int32_t hx, hy, ix, iy, lx, ly; in ccosh() local 56 EXTRACT_WORDS(hx, lx, x); in ccosh() 94 if ((ix | lx) == 0 && iy >= 0x7ff00000) in ccosh() 104 if (((hx & 0xfffff) | lx) == 0) in ccosh() 129 if (ix >= 0x7ff00000 && ((hx & 0xfffff) | lx) == 0) { in ccosh()
|
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_exp2.c | 345 uint32_t hx, ix, lx, i0; in exp2() local 353 GET_LOW_WORD(lx,x); in exp2() 354 if(((ix & 0xfffff) | lx) != 0 || (hx & 0x80000000) == 0) in exp2()
|
D | s_ctanh.c | 79 uint32_t hx, ix, lx; in ctanh() local 84 EXTRACT_WORDS(hx, lx, x); in ctanh() 104 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 | 457 uint64_t lx, llx; in k_logl() local 461 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in k_logl() 468 if (((hx & 0x7fff) | lx | llx) == 0) in k_logl() 474 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in k_logl() 489 i = (lx + (1LL << (L2I - 2))) >> (L2I - 1); in k_logl() 520 INSERT_LDBL128_WORDS(x_hi, 0x3fff, lx, in k_logl() 569 uint64_t lx, llx; in log1pl() local 574 EXTRACT_LDBL128_WORDS(hx, lx, llx, x); in log1pl() 578 if (ax == 0x3fff && (lx | llx) == 0) in log1pl() 602 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()
|