diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-04-23 22:40:58 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-04-23 22:40:58 +0000 |
commit | 5d45c7d7b7575745804776aadcec5ead2cd6d389 (patch) | |
tree | 370aa58b7253896b7457a60c9189ba043f44601b /src | |
parent | 193c79e71223e98bcd6ed609324a7b7212015ba3 (diff) | |
download | mpfr-5d45c7d7b7575745804776aadcec5ead2cd6d389.tar.gz |
[src/exceptions.c] Replaced comment about logging (the issue was due to
the mpfr_check_range macro).
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14502 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src')
-rw-r--r-- | src/exceptions.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/exceptions.c b/src/exceptions.c index 3538878d8..ba74968c0 100644 --- a/src/exceptions.c +++ b/src/exceptions.c @@ -252,17 +252,12 @@ mpfr_set_erangeflag (void) /* Note: It is possible that for pure FP numbers, EXP(x) < MPFR_EMIN_MIN, but the caller must make sure that the difference remains small enough to avoid reaching the special exponent values. */ +/* This function does not have logging messages. As it is also partly + implemented as a macro, if messages are added in the future, the macro + may need to be disabled when logging is used. */ int mpfr_check_range (mpfr_ptr x, int t, mpfr_rnd_t rnd_mode) { - /* FIXME: If the following log message is enabled, it is not always - output. This can be seen by adding - MPFR_LOG_MSG (("call mpfr_check_range\n", 0)); - at the end of exp.c (before the return). - With "MPFR_LOG_ALL=1", when this "call mpfr_check_range" message - appears, it is not always followed by the one below. - MPFR_LOG_MSG (("mpfr_check_range\n", 0)); - */ if (MPFR_LIKELY (! MPFR_IS_SINGULAR (x))) { /* x is a non-zero FP */ mpfr_exp_t exp = MPFR_EXP (x); /* Do not use MPFR_GET_EXP */ |