diff options
| -rw-r--r-- | src/hypot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypot.c b/src/hypot.c index 7a0e938ce..1eab34d35 100644 --- a/src/hypot.c +++ b/src/hypot.c @@ -110,7 +110,7 @@ mpfr_hypot (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mpfr_rnd_t rnd_mode) } else { - MPFR_EXP (z) = Ex; + MPFR_SET_EXP (z, Ex); MPFR_SET_SIGN (z, 1); MPFR_RNDRAW_GEN (inexact, z, MPFR_MANT (x), N, rnd_mode, 1, goto addoneulp, |
