Home
last modified time | relevance | path

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

/openbmc/linux/arch/parisc/math-emu/
H A Dsfdiv.c41 register int dest_exponent, count; in sgl_fdiv() local
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()
272 if (dest_exponent >= SGL_INFINITY_EXPONENT) { in sgl_fdiv()
294 else if (dest_exponent <= 0) { in sgl_fdiv()
311 if (dest_exponent == 0 && inexact) { in sgl_fdiv()
[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()
229 Sgl_isone_hidden(result)) dest_exponent++; in dbl_to_sgl_fcnvff()
234 if (dest_exponent >= SGL_INFINITY_EXPONENT) { 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()
268 if (dest_exponent <= -(SGL_WRAP)) in dbl_to_sgl_fcnvff()
273 Sgl_setwrapped_exponent(result,dest_exponent,unfl); in dbl_to_sgl_fcnvff()
[all …]
H A Dsfmpy.c44 register int dest_exponent, count; in sgl_fmpy() local
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()
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()
281 else if (dest_exponent <= 0) { in sgl_fmpy()
298 if (dest_exponent == 0 && inexact) { in sgl_fmpy()
[all …]
H A Ddfdiv.c42 register int dest_exponent, count; in dbl_fdiv() local
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()
278 if (dest_exponent >= DBL_INFINITY_EXPONENT) { in dbl_fdiv()
300 else if (dest_exponent <= 0) { in dbl_fdiv()
317 if (dest_exponent == 0 && inexact) { in dbl_fdiv()
[all …]
H A Ddfmpy.c45 register int dest_exponent, count; in dbl_fmpy() local
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()
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()
295 else if (dest_exponent <= 0) { in dbl_fmpy()
312 if (dest_exponent == 0 && inexact) { 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()