diff options
-rw-r--r-- | BUGS | 5 | ||||
-rw-r--r-- | hypot.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -37,6 +37,11 @@ Known bugs: * Some functions do not use MPFR_SAVE_EXPO_* macros, thus do not behave correctly in a reduced exponent range. +* Function hypot gives incorrect result when on the one hand the difference + between parameters' exponents is near 2*MPFR_EMAX_MAX and on the other hand + the output precision or the precision of the parameter with greatest + absolute value is greater than 2*MPFR_EMAX_MAX-4. + Potential bugs: * Possible incorrect results due to internal underflow, which can lead to @@ -121,7 +121,7 @@ mpfr_hypot (mpfr_ptr z, mpfr_srcptr x, mpfr_srcptr y, mp_rnd_t rnd_mode) /* General case */ /* FIXME: the following algorithm is correct only for - diff_exp <= MPFR_EMAX_DEFAULT - 2 */ + diff_exp <= MPFR_EMAX_MAX - 2 */ N = MAX (MPFR_PREC (x), MPFR_PREC (y)); |