Home
last modified time | relevance | path

Searched refs:fromRep (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Ddivsf3.c40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divsf3()
42 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in __divsf3()
46 if (bAbs == infRep) return fromRep(qnanRep); in __divsf3()
48 else return fromRep(aAbs | quotientSign); in __divsf3()
52 if (bAbs == infRep) return fromRep(quotientSign); in __divsf3()
56 if (!bAbs) return fromRep(qnanRep); in __divsf3()
58 else return fromRep(quotientSign); in __divsf3()
61 if (!bAbs) return fromRep(infRep | quotientSign); in __divsf3()
147 return fromRep(infRep | quotientSign); in __divsf3()
153 return fromRep(quotientSign); in __divsf3()
[all …]
H A Ddivdf3.c40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divdf3()
42 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in __divdf3()
46 if (bAbs == infRep) return fromRep(qnanRep); in __divdf3()
48 else return fromRep(aAbs | quotientSign); in __divdf3()
52 if (bAbs == infRep) return fromRep(quotientSign); in __divdf3()
56 if (!bAbs) return fromRep(qnanRep); in __divdf3()
58 else return fromRep(quotientSign); in __divdf3()
61 if (!bAbs) return fromRep(infRep | quotientSign); in __divdf3()
162 return fromRep(infRep | quotientSign); in __divdf3()
168 return fromRep(quotientSign); in __divdf3()
[all …]
H A Ddivtf3.c40 if (aAbs > infRep) return fromRep(toRep(a) | quietBit); in __divtf3()
42 if (bAbs > infRep) return fromRep(toRep(b) | quietBit); in __divtf3()
46 if (bAbs == infRep) return fromRep(qnanRep); in __divtf3()
48 else return fromRep(aAbs | quotientSign); in __divtf3()
52 if (bAbs == infRep) return fromRep(quotientSign); in __divtf3()
56 if (!bAbs) return fromRep(qnanRep); in __divtf3()
58 else return fromRep(quotientSign); in __divtf3()
61 if (!bAbs) return fromRep(infRep | quotientSign); in __divtf3()
182 return fromRep(infRep | quotientSign); in __divtf3()
187 return fromRep(quotientSign); in __divtf3()
[all …]
H A Dfp_mul_impl.inc33 if (aAbs > infRep) return fromRep(toRep(a) | quietBit);
35 if (bAbs > infRep) return fromRep(toRep(b) | quietBit);
39 if (bAbs) return fromRep(aAbs | productSign);
41 else return fromRep(qnanRep);
46 if (aAbs) return fromRep(bAbs | productSign);
48 else return fromRep(qnanRep);
52 if (!aAbs) return fromRep(productSign);
54 if (!bAbs) return fromRep(productSign);
85 if (productExponent >= maxExponent) return fromRep(infRep | productSign);
95 if (shift >= typeWidth) return fromRep(productSign);
[all …]
H A Dfp_add_impl.inc27 if (aAbs > infRep) return fromRep(toRep(a) | quietBit);
29 if (bAbs > infRep) return fromRep(toRep(b) | quietBit);
33 if ((toRep(a) ^ toRep(b)) == signBit) return fromRep(qnanRep);
44 if (!bAbs) return fromRep(toRep(a) & toRep(b));
95 if (aSignificand == 0) return fromRep(0);
118 if (aExponent >= maxExponent) return fromRep(infRep | resultSign);
143 return fromRep(result);
H A Dfloatunsitf.c25 if (a == 0) return fromRep(0); in __floatunsitf()
37 return fromRep(result); in __floatunsitf()
H A Dfloatunditf.c25 if (a == 0) return fromRep(0); in __floatunditf()
37 return fromRep(result); in __floatunditf()
H A Dfloatsitf.c26 return fromRep(0); in __floatsitf()
47 return fromRep(result | sign); in __floatsitf()
H A Dfloatunsidf.c27 if (a == 0) return fromRep(0); in __floatunsidf()
39 return fromRep(result); in __floatunsidf()
H A Dfloatditf.c26 return fromRep(0); in __floatditf()
47 return fromRep(result | sign); in __floatditf()
H A Dfloatsidf.c28 return fromRep(0); in __floatsidf()
50 return fromRep(result | sign); in __floatsidf()
H A Dfloatunsisf.c27 if (a == 0) return fromRep(0); in __floatunsisf()
47 return fromRep(result); in __floatunsisf()
H A Dfloatsisf.c28 return fromRep(0); in __floatsisf()
56 return fromRep(result | sign); in __floatsisf()
H A Dsubtf3.c24 return __addtf3(a, fromRep(toRep(b) ^ signBit)); in __subtf3()
H A Dnegsf2.c19 return fromRep(toRep(a) ^ signBit); in __negsf2()
H A Dnegdf2.c19 return fromRep(toRep(a) ^ signBit); in __negdf2()
H A Dsubsf3.c21 return __addsf3(a, fromRep(toRep(b) ^ signBit)); in __subsf3()
H A Dsubdf3.c21 return __adddf3(a, fromRep(toRep(b) ^ signBit)); in __subdf3()
H A Dfp_lib.h237 static __inline fp_t fromRep(rep_t x) { in fromRep() function
289 return fromRep(infRep | signBit); in __compiler_rt_logbX()