Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/parisc/math-emu/
Dsfdiv.c54 register int dest_exponent, count; in sgl_fdiv() local
173 dest_exponent = Sgl_exponent(opnd1) - Sgl_exponent(opnd2) + SGL_BIAS; in sgl_fdiv()
192 Sgl_normalize(opnd1,dest_exponent); in sgl_fdiv()
204 dest_exponent += 8; in sgl_fdiv()
208 dest_exponent += 4; in sgl_fdiv()
212 dest_exponent += 1; in sgl_fdiv()
238 dest_exponent--; in sgl_fdiv()
251 dest_exponent--; in sgl_fdiv()
261 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in sgl_fdiv()
278 if (Sgl_isone_hidden(opnd3)) dest_exponent++; in sgl_fdiv()
[all …]
Dfcnvff.c148 register int src_exponent, dest_exponent, dest_mantissa; in dbl_to_sgl_fcnvff() local
195 Dbl_to_sgl_exponent(src_exponent,dest_exponent); in dbl_to_sgl_fcnvff()
196 if (dest_exponent > 0) { in dbl_to_sgl_fcnvff()
214 Dbl_to_sgl_denormalized(srcp1,srcp2,dest_exponent, in dbl_to_sgl_fcnvff()
241 if ((dest_exponent>0 || Is_underflowtrap_enabled()) && in dbl_to_sgl_fcnvff()
242 Sgl_isone_hidden(result)) dest_exponent++; in dbl_to_sgl_fcnvff()
247 if (dest_exponent >= SGL_INFINITY_EXPONENT) { in dbl_to_sgl_fcnvff()
253 if (dest_exponent >= SGL_INFINITY_EXPONENT+SGL_WRAP) in dbl_to_sgl_fcnvff()
259 Sgl_setwrapped_exponent(result,dest_exponent,ovfl); in dbl_to_sgl_fcnvff()
275 else if (dest_exponent <= 0) { in dbl_to_sgl_fcnvff()
[all …]
Dsfmpy.c57 register int dest_exponent, count; in sgl_fmpy() local
167 dest_exponent = Sgl_exponent(opnd1) + Sgl_exponent(opnd2) - SGL_BIAS; in sgl_fmpy()
186 Sgl_normalize(opnd1,dest_exponent); in sgl_fmpy()
202 Sgl_normalize(opnd2,dest_exponent); in sgl_fmpy()
228 dest_exponent++; in sgl_fmpy()
233 dest_exponent--; in sgl_fmpy()
248 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in sgl_fmpy()
265 if (Sgl_isone_hidden(opnd3)) dest_exponent++; in sgl_fmpy()
272 if (dest_exponent >= SGL_INFINITY_EXPONENT) { in sgl_fmpy()
278 Sgl_setwrapped_exponent(result,dest_exponent,ovfl); in sgl_fmpy()
[all …]
Ddfdiv.c55 register int dest_exponent, count; in dbl_fdiv() local
175 dest_exponent = Dbl_exponent(opnd1p1) - Dbl_exponent(opnd2p1) + DBL_BIAS; in dbl_fdiv()
194 Dbl_normalize(opnd1p1,opnd1p2,dest_exponent); in dbl_fdiv()
205 dest_exponent+=8; in dbl_fdiv()
209 dest_exponent+=4; in dbl_fdiv()
213 dest_exponent++; in dbl_fdiv()
242 dest_exponent--; in dbl_fdiv()
257 dest_exponent--; in dbl_fdiv()
267 if (inexact && (dest_exponent > 0 || Is_underflowtrap_enabled())) { in dbl_fdiv()
284 if (Dbl_isone_hidden(opnd3p1)) dest_exponent++; in dbl_fdiv()
[all …]
Ddfmpy.c58 register int dest_exponent, count; in dbl_fmpy() local
169 dest_exponent = Dbl_exponent(opnd1p1) + Dbl_exponent(opnd2p1) -DBL_BIAS; in dbl_fmpy()
188 Dbl_normalize(opnd1p1,opnd1p2,dest_exponent); in dbl_fmpy()
204 Dbl_normalize(opnd2p1,opnd2p2,dest_exponent); in dbl_fmpy()
242 dest_exponent++; in dbl_fmpy()
247 dest_exponent--; in dbl_fmpy()
262 if (inexact && (dest_exponent>0 || Is_underflowtrap_enabled())) { in dbl_fmpy()
279 if (Dbl_isone_hidden(opnd3p1)) dest_exponent++; in dbl_fmpy()
286 if (dest_exponent >= DBL_INFINITY_EXPONENT) { in dbl_fmpy()
292 Dbl_setwrapped_exponent(resultp1,dest_exponent,ovfl); in dbl_fmpy()
[all …]
Dsfrem.c55 register int opnd1_exponent, opnd2_exponent, dest_exponent, stepcount; in sgl_frem() local
177 dest_exponent = opnd2_exponent - 1; in sgl_frem()
198 dest_exponent--; in sgl_frem()
210 dest_exponent = opnd1_exponent; in sgl_frem()
257 dest_exponent--; in sgl_frem()
266 if (dest_exponent <= 0) { in sgl_frem()
272 Sgl_setwrapped_exponent(result,dest_exponent,unfl); in sgl_frem()
280 if (dest_exponent >= (1 - SGL_P)) { in sgl_frem()
281 Sgl_rightshift_exponentmantissa(result,1-dest_exponent); in sgl_frem()
287 else Sgl_set_exponent(result,dest_exponent); in sgl_frem()
Ddfrem.c56 register int opnd1_exponent, opnd2_exponent, dest_exponent, stepcount; in dbl_frem() local
178 dest_exponent = opnd2_exponent - 1; in dbl_frem()
202 dest_exponent--; in dbl_frem()
214 dest_exponent = opnd1_exponent; in dbl_frem()
263 dest_exponent--; in dbl_frem()
272 if (dest_exponent <= 0) { in dbl_frem()
278 Dbl_setwrapped_exponent(resultp1,dest_exponent,unfl); in dbl_frem()
286 if (dest_exponent >= (1 - DBL_P)) { in dbl_frem()
288 1-dest_exponent); in dbl_frem()
294 else Dbl_set_exponent(resultp1,dest_exponent); in dbl_frem()