Home
last modified time | relevance | path

Searched refs:hb (Results 1 – 5 of 5) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
De_hypotf.c26 int32_t j,k,ha,hb; in __ieee754_hypotf() local
30 GET_FLOAT_WORD(hb,y); in __ieee754_hypotf()
31 hb &= 0x7fffffff; in __ieee754_hypotf()
32 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypotf()
35 if((ha-hb)>0xf000000) {return a+b;} /* x/y > 2**30 */ in __ieee754_hypotf()
42 if(hb == 0x7f800000) w = b; in __ieee754_hypotf()
46 ha -= 0x22000000; hb -= 0x22000000; k += 68; in __ieee754_hypotf()
48 SET_FLOAT_WORD(b,hb); in __ieee754_hypotf()
50 if(hb < 0x26800000) { /* b < 2**-50 */ in __ieee754_hypotf()
51 if(hb <= 0x007fffff) { /* subnormal b or 0 */ in __ieee754_hypotf()
[all …]
De_hypot.c58 int32_t j,k,ha,hb; in __ieee754_hypot() local
62 GET_HIGH_WORD(hb,y); in __ieee754_hypot()
63 hb &= 0x7fffffff; in __ieee754_hypot()
64 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in __ieee754_hypot()
67 if((ha-hb)>0x3c00000) {return a+b;} /* x/y > 2**60 */ in __ieee754_hypot()
77 if(((hb^0x7ff00000)|low)==0) w = b; in __ieee754_hypot()
81 ha -= 0x25800000; hb -= 0x25800000; k += 600; in __ieee754_hypot()
83 SET_HIGH_WORD(b,hb); in __ieee754_hypot()
85 if(hb < 0x20b00000) { /* b < 2**-500 */ in __ieee754_hypot()
86 if(hb <= 0x000fffff) { /* subnormal b or 0 */ in __ieee754_hypot()
[all …]
De_hypotl.c52 int32_t j,k,ha,hb; in hypotl() local
56 GET_HIGH_WORD(hb,y); in hypotl()
57 hb &= 0x7fff; in hypotl()
58 if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;} in hypotl()
61 if((ha-hb)>DESW(MANT_DIG+7)) {return a+b;} /* x/y > 2**(MANT_DIG+7) */ in hypotl()
71 if (hb >= ESW(MAX_EXP) && manh == LDBL_NBIT && manl == 0) w = b; in hypotl()
75 ha -= DESW(MAX_EXP/2+88); hb -= DESW(MAX_EXP/2+88); in hypotl()
78 SET_HIGH_WORD(b,hb); in hypotl()
80 if(hb < ESW(-(MAX_EXP/2-12))) { /* b < 2**-(MAX_EXP/2-12) */ in hypotl()
81 if(hb <= 0) { /* subnormal b or 0 */ in hypotl()
[all …]
Ds_fma.c140 double ha, hb, la, lb, p, q; in dd_mul() local
148 hb = b - p; in dd_mul()
149 hb += p; in dd_mul()
150 lb = b - hb; in dd_mul()
152 p = ha * hb; in dd_mul()
153 q = ha * lb + la * hb; in dd_mul()
Ds_fmal.c136 long double ha, hb, la, lb, p, q; in dd_mul() local
144 hb = b - p; in dd_mul()
145 hb += p; in dd_mul()
146 lb = b - hb; in dd_mul()
148 p = ha * hb; in dd_mul()
149 q = ha * lb + la * hb; in dd_mul()