Home
last modified time | relevance | path

Searched refs:dest_exponent (Results 1 – 7 of 7) sorted by relevance

/linux/arch/parisc/math-emu/
H A Dsfdiv.c41 register int dest_exponent, count; in sgl_fdiv() local
160 dest_exponent = Sgl_exponent(opnd1) - Sgl_exponent(opnd2) + SGL_BIAS; in sgl_fdiv()
179 Sgl_normalize(opnd1,dest_exponent); in sgl_fdiv()
191 dest_exponent += 8; in sgl_fdiv()
195 dest_exponent += 4; in sgl_fdiv()
199 dest_exponent += 1; in sgl_fdiv()
225 dest_exponent--; in sgl_fdiv()
238 dest_exponent--; in sgl_fdiv()
248 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in sgl_fdiv()
265 if (Sgl_isone_hidden(opnd3)) dest_exponent++; in sgl_fdiv()
[all …]
H A Dsfmpy.c44 register int dest_exponent, count; in sgl_fmpy() local
154 dest_exponent = Sgl_exponent(opnd1) + Sgl_exponent(opnd2) - SGL_BIAS; in sgl_fmpy()
173 Sgl_normalize(opnd1,dest_exponent); in sgl_fmpy()
189 Sgl_normalize(opnd2,dest_exponent); in sgl_fmpy()
215 dest_exponent++; in sgl_fmpy()
220 dest_exponent--; in sgl_fmpy()
235 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in sgl_fmpy()
252 if (Sgl_isone_hidden(opnd3)) dest_exponent++; in sgl_fmpy()
259 if (dest_exponent >= SGL_INFINITY_EXPONENT) { in sgl_fmpy()
265 Sgl_setwrapped_exponent(result,dest_exponent,ovfl); in sgl_fmpy()
[all …]
H A Dfcnvff.c135 register int src_exponent, dest_exponent, dest_mantissa; in dbl_to_sgl_fcnvff() local
182 Dbl_to_sgl_exponent(src_exponent,dest_exponent); in dbl_to_sgl_fcnvff()
183 if (dest_exponent > 0) { in dbl_to_sgl_fcnvff()
201 Dbl_to_sgl_denormalized(srcp1,srcp2,dest_exponent, in dbl_to_sgl_fcnvff()
228 if ((dest_exponent>0 || Is_underflowtrap_enabled()) && in dbl_to_sgl_fcnvff()
229 Sgl_isone_hidden(result)) dest_exponent++; in dbl_to_sgl_fcnvff()
234 if (dest_exponent >= SGL_INFINITY_EXPONENT) { in dbl_to_sgl_fcnvff()
240 if (dest_exponent >= SGL_INFINITY_EXPONENT+SGL_WRAP) in dbl_to_sgl_fcnvff()
246 Sgl_setwrapped_exponent(result,dest_exponent,ovfl); in dbl_to_sgl_fcnvff()
262 else if (dest_exponent <= 0) { in dbl_to_sgl_fcnvff()
[all …]
H A Ddfdiv.c42 register int dest_exponent, count; in dbl_fdiv() local
162 dest_exponent = Dbl_exponent(opnd1p1) - Dbl_exponent(opnd2p1) + DBL_BIAS; in dbl_fdiv()
181 Dbl_normalize(opnd1p1,opnd1p2,dest_exponent); in dbl_fdiv()
192 dest_exponent+=8; in dbl_fdiv()
196 dest_exponent+=4; in dbl_fdiv()
200 dest_exponent++; in dbl_fdiv()
229 dest_exponent--; in dbl_fdiv()
244 dest_exponent--; in dbl_fdiv()
254 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in dbl_fdiv()
271 if (Dbl_isone_hidden(opnd3p1)) dest_exponent++; in dbl_fdiv()
[all …]
H A Ddfmpy.c45 register int dest_exponent, count; in dbl_fmpy() local
156 dest_exponent = Dbl_exponent(opnd1p1) + Dbl_exponent(opnd2p1) -DBL_BIAS; in dbl_fmpy()
175 Dbl_normalize(opnd1p1,opnd1p2,dest_exponent); in dbl_fmpy()
191 Dbl_normalize(opnd2p1,opnd2p2,dest_exponent); in dbl_fmpy()
229 dest_exponent++; in dbl_fmpy()
234 dest_exponent--; in dbl_fmpy()
249 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in dbl_fmpy()
266 if (Dbl_isone_hidden(opnd3p1)) dest_exponent++; in dbl_fmpy()
273 if (dest_exponent >= DBL_INFINITY_EXPONENT) { in dbl_fmpy()
279 Dbl_setwrapped_exponent(resultp1,dest_exponent,ovfl); in dbl_fmpy()
[all …]
H A Dsfrem.c42 register int opnd1_exponent, opnd2_exponent, dest_exponent, stepcount; in sgl_frem() local
164 dest_exponent = opnd2_exponent - 1; in sgl_frem()
185 dest_exponent--; in sgl_frem()
197 dest_exponent = opnd1_exponent; in sgl_frem()
244 dest_exponent--; in sgl_frem()
253 if (dest_exponent <= 0) { in sgl_frem()
259 Sgl_setwrapped_exponent(result,dest_exponent,unfl); in sgl_frem()
267 if (dest_exponent >= (1 - SGL_P)) { in sgl_frem()
268 Sgl_rightshift_exponentmantissa(result,1-dest_exponent); in sgl_frem()
274 else Sgl_set_exponent(result,dest_exponent); in sgl_frem()
H A Ddfrem.c43 register int opnd1_exponent, opnd2_exponent, dest_exponent, stepcount; in dbl_frem() local
165 dest_exponent = opnd2_exponent - 1; in dbl_frem()
189 dest_exponent--; in dbl_frem()
201 dest_exponent = opnd1_exponent; in dbl_frem()
250 dest_exponent--; in dbl_frem()
259 if (dest_exponent <= 0) { in dbl_frem()
265 Dbl_setwrapped_exponent(resultp1,dest_exponent,unfl); in dbl_frem()
273 if (dest_exponent >= (1 - DBL_P)) { in dbl_frem()
275 1-dest_exponent); in dbl_frem()
281 else Dbl_set_exponent(resultp1,dest_exponent); in dbl_frem()