Home
last modified time | relevance | path

Searched refs:lx (Results 1 – 25 of 26) sorted by relevance

12

/bionic/libm/src/
De_fmod.c33 u_int32_t lx,ly,lz; in __ieee754_fmod() local
35 EXTRACT_WORDS(hx,lx,x); in __ieee754_fmod()
46 if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */ in __ieee754_fmod()
47 if(lx==ly) in __ieee754_fmod()
54 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; in __ieee754_fmod()
75 hx = (hx<<n)|(lx>>(32-n)); in __ieee754_fmod()
76 lx <<= n; in __ieee754_fmod()
78 hx = lx<<(n-32); in __ieee754_fmod()
79 lx = 0; in __ieee754_fmod()
98 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in __ieee754_fmod()
[all …]
Ds_nextafter.c35 u_int32_t lx,ly; in nextafter() local
37 EXTRACT_WORDS(hx,lx,x); in nextafter()
42 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */ in nextafter()
46 if((ix|lx)==0) { /* x == 0 */ in nextafter()
52 if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */ in nextafter()
53 if(lx==0) hx -= 1; in nextafter()
54 lx -= 1; in nextafter()
56 lx += 1; in nextafter()
57 if(lx==0) hx += 1; in nextafter()
60 if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */ in nextafter()
[all …]
Ds_remquo.c33 u_int32_t lx,ly,lz,q,sxy; in remquo() local
35 EXTRACT_WORDS(hx,lx,x); in remquo()
47 if((hx<hy)||(lx<ly)) { in remquo()
51 if(lx==ly) { in remquo()
60 for (ix = -1043, i=lx; i>0; i<<=1) ix -=1; in remquo()
81 hx = (hx<<n)|(lx>>(32-n)); in remquo()
82 lx <<= n; in remquo()
84 hx = lx<<(n-32); in remquo()
85 lx = 0; in remquo()
105 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1; in remquo()
[all …]
Ds_ilogb.c31 int32_t hx,lx,ix; in ilogb() local
33 EXTRACT_WORDS(hx,lx,x); in ilogb()
36 if((hx|lx)==0) in ilogb()
40 for (ix = -1043; lx>0; lx<<=1) ix -=1; in ilogb()
47 else if (hx>0x7ff00000 || lx!=0) return FP_ILOGBNAN; in ilogb()
Ds_nexttoward.c39 u_int32_t lx; in nexttoward() local
41 EXTRACT_WORDS(hx,lx,x); in nexttoward()
45 if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || in nexttoward()
56 if(lx==0) hx -= 1; in nexttoward()
57 lx -= 1; in nexttoward()
59 lx += 1; in nexttoward()
60 if(lx==0) hx += 1; in nexttoward()
67 INSERT_WORDS(y,hx,lx); in nexttoward()
71 INSERT_WORDS(x,hx,lx); in nexttoward()
Ds_logb.c32 int32_t lx,ix; in logb() local
33 EXTRACT_WORDS(ix,lx,x); in logb()
35 if((ix|lx)==0) return -1.0/fabs(x); in logb()
De_atanh.c48 u_int32_t lx; in __ieee754_atanh() local
49 EXTRACT_WORDS(hx,lx,x); in __ieee754_atanh()
51 if ((ix|((lx|(-lx))>>31))>0x3ff00000) /* |x|>1 */ in __ieee754_atanh()
De_atan2.c62 u_int32_t lx,ly; in __ieee754_atan2() local
64 EXTRACT_WORDS(hx,lx,x); in __ieee754_atan2()
68 if(((ix|((lx|-lx)>>31))>0x7ff00000)|| in __ieee754_atan2()
71 if(((hx-0x3ff00000) | lx)==0) return atan(y); /* x=1.0 */ in __ieee754_atan2()
84 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2()
Ds_frexp.c39 int32_t hx, ix, lx; in frexp() local
40 EXTRACT_WORDS(hx,lx,x); in frexp()
43 if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */ in frexp()
De_acosh.c45 u_int32_t lx; in __ieee754_acosh() local
46 EXTRACT_WORDS(hx,lx,x); in __ieee754_acosh()
54 } else if(((hx-0x3ff00000)|lx)==0) { in __ieee754_acosh()
De_log10.c67 u_int32_t lx; in __ieee754_log10() local
69 EXTRACT_WORDS(hx,lx,x); in __ieee754_log10()
73 if (((hx&0x7fffffff)|lx)==0) in __ieee754_log10()
De_sinh.c46 u_int32_t lx; in __ieee754_sinh() local
70 GET_LOW_WORD(lx,x); in __ieee754_sinh()
71 if (ix<0x408633CE || ((ix==0x408633ce)&&(lx<=(u_int32_t)0x8fb9f87d))) { in __ieee754_sinh()
De_cosh.c49 u_int32_t lx; in __ieee754_cosh() local
76 GET_LOW_WORD(lx,x); in __ieee754_cosh()
78 ((ix==0x408633ce)&&(lx<=(u_int32_t)0x8fb9f87d))) { in __ieee754_cosh()
De_jn.c57 int32_t i,hx,ix,lx, sgn; in __ieee754_jn() local
64 EXTRACT_WORDS(hx,lx,x); in __ieee754_jn()
67 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; in __ieee754_jn()
77 if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */ in __ieee754_jn()
213 int32_t i,hx,ix,lx; in __ieee754_yn() local
217 EXTRACT_WORDS(hx,lx,x); in __ieee754_yn()
220 if((ix|((u_int32_t)(lx|-lx))>>31)>0x7ff00000) return x+x; in __ieee754_yn()
221 if((ix|lx)==0) return -one/zero; in __ieee754_yn()
De_remainder.c37 u_int32_t sx,lx,lp; in __ieee754_remainder() local
40 EXTRACT_WORDS(hx,lx,x); in __ieee754_remainder()
55 if (((hx-hp)|(lx-lp))==0) return zero*x; in __ieee754_remainder()
Ds_scalbn.c39 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()
Ds_exp2.c341 uint32_t hx, hr, ix, lx, i0; in exp2() local
349 GET_LOW_WORD(lx,x); in exp2()
350 if(((ix & 0xfffff) | lx) != 0 || (hx & 0x80000000) == 0) in exp2()
De_exp.c116 u_int32_t lx; in __ieee754_exp() local
117 GET_LOW_WORD(lx,x); in __ieee754_exp()
118 if(((hx&0xfffff)|lx)!=0) in __ieee754_exp()
De_asin.c78 u_int32_t lx; in __ieee754_asin() local
79 GET_LOW_WORD(lx,x); in __ieee754_asin()
80 if(((ix-0x3ff00000)|lx)==0) in __ieee754_asin()
De_log.c91 u_int32_t lx; in __ieee754_log() local
93 EXTRACT_WORDS(hx,lx,x); in __ieee754_log()
97 if (((hx&0x7fffffff)|lx)==0) in __ieee754_log()
De_acos.c69 u_int32_t lx; in __ieee754_acos() local
70 GET_LOW_WORD(lx,x); in __ieee754_acos()
71 if(((ix-0x3ff00000)|lx)==0) { /* |x|==1 */ in __ieee754_acos()
De_lgamma_r.c208 int i,hx,lx,ix; in __ieee754_lgamma_r() local
210 EXTRACT_WORDS(hx,lx,x); in __ieee754_lgamma_r()
216 if((ix|lx)==0) return one/zero; in __ieee754_lgamma_r()
234 if((((ix-0x3ff00000)|lx)==0)||(((ix-0x40000000)|lx)==0)) r = 0; in __ieee754_lgamma_r()
De_pow.c104 u_int32_t lx,ly; in __ieee754_pow() local
106 EXTRACT_WORDS(hx,lx,x); in __ieee754_pow()
114 if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) || in __ieee754_pow()
141 if(((ix-0x3ff00000)|lx)==0) in __ieee754_pow()
160 if(lx==0) { in __ieee754_pow()
De_j1.c147 int32_t hx,ix,lx; in __ieee754_y1() local
149 EXTRACT_WORDS(hx,lx,x); in __ieee754_y1()
153 if((ix|lx)==0) return -one/zero; in __ieee754_y1()
/bionic/libc/bionic/
Dldexp.c99 int32_t k,hx,lx; in ldexp() local
100 EXTRACT_WORDS(hx,lx,x); in ldexp()
103 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */ in ldexp()

12