Home
last modified time | relevance | path

Searched refs:ha (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
28 GET_FLOAT_WORD(ha,x); in __ieee754_hypotf()
29 ha &= 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()
37 if(ha > 0x58800000) { /* a>2**50 */ in __ieee754_hypotf()
38 if(ha >= 0x7f800000) { /* Inf or NaN */ in __ieee754_hypotf()
41 if(ha == 0x7f800000) w = a; in __ieee754_hypotf()
46 ha -= 0x22000000; hb -= 0x22000000; k += 68; in __ieee754_hypotf()
47 SET_FLOAT_WORD(a,ha); in __ieee754_hypotf()
[all …]
De_hypot.c58 int32_t j,k,ha,hb; in __ieee754_hypot() local
60 GET_HIGH_WORD(ha,x); in __ieee754_hypot()
61 ha &= 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()
69 if(ha > 0x5f300000) { /* a>2**500 */ in __ieee754_hypot()
70 if(ha >= 0x7ff00000) { /* Inf or NaN */ in __ieee754_hypot()
75 if(((ha&0xfffff)|low)==0) w = a; in __ieee754_hypot()
81 ha -= 0x25800000; hb -= 0x25800000; k += 600; in __ieee754_hypot()
82 SET_HIGH_WORD(a,ha); in __ieee754_hypot()
[all …]
De_hypotl.c52 int32_t j,k,ha,hb; in hypotl() local
54 GET_HIGH_WORD(ha,x); in hypotl()
55 ha &= 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()
63 if(ha > ESW(MAX_EXP/2-12)) { /* a>2**(MAX_EXP/2-12) */ in hypotl()
64 if(ha >= ESW(MAX_EXP)) { /* Inf or NaN */ in hypotl()
75 ha -= DESW(MAX_EXP/2+88); hb -= DESW(MAX_EXP/2+88); in hypotl()
77 SET_HIGH_WORD(a,ha); in hypotl()
91 ha += DESW(MAX_EXP/2+88); in hypotl()
[all …]
Ds_fmal.c138 long double ha, hb, la, lb, p, q; in dd_mul() local
141 ha = a - p; in dd_mul()
142 ha += p; in dd_mul()
143 la = a - ha; in dd_mul()
150 p = ha * hb; in dd_mul()
151 q = ha * lb + la * hb; in dd_mul()
Ds_fma.c142 double ha, hb, la, lb, p, q; in dd_mul() local
145 ha = a - p; in dd_mul()
146 ha += p; in dd_mul()
147 la = a - ha; in dd_mul()
154 p = ha * hb; in dd_mul()
155 q = ha * lb + la * hb; in dd_mul()