summaryrefslogtreecommitdiff
path: root/tests/tgamma.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-03-09 15:35:17 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2011-03-09 15:35:17 +0000
commit0625da7f90e92965918b00887ad8dd316dc092d6 (patch)
treee45e7979b9a6c0f9eb88dc64c58276d3d695ab1c /tests/tgamma.c
parent2ff763f73e8b63983a91f4c610886077bc76fce4 (diff)
downloadmpfr-0625da7f90e92965918b00887ad8dd316dc092d6.tar.gz
[tests/tgamma.c] Added a comment about MPFR_SUSPICIOUS_OVERFLOW.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7552 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tgamma.c')
-rw-r--r--tests/tgamma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tgamma.c b/tests/tgamma.c
index 098106257..57b56daff 100644
--- a/tests/tgamma.c
+++ b/tests/tgamma.c
@@ -25,6 +25,9 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-test.h"
+/* Note: there could be an incorrect test about suspicious overflow
+ (MPFR_SUSPICIOUS_OVERFLOW) for x = 2^(-emax) = 0.5 * 2^(emin+1) in
+ RNDZ or RNDD, but this case is never tested in the generic tests. */
#define TEST_FUNCTION mpfr_gamma
#define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 1, RANDS)
#include "tgeneric.c"