diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-06-23 00:15:33 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-06-23 00:15:33 +0000 |
commit | 8385daea3d43916b8370f2410c750000b5299069 (patch) | |
tree | 99977a6bd684c0c01e304c5e6b61278fa91e2ea7 /tests/tget_set_d64.c | |
parent | 1476478505fb8e54a6343ad6067486e5003a5c30 (diff) | |
download | mpfr-8385daea3d43916b8370f2410c750000b5299069.tar.gz |
[tests/tget_set_{d64,d128}.c] When MPFR_ERRDIVZERO is defined,
disable tests that can trigger a FP exception DIVBYZERO or INVALID
(issue detected with -DMPFR_TESTS_FPE_DIV -DMPFR_ERRDIVZERO).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12849 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tget_set_d64.c')
-rw-r--r-- | tests/tget_set_d64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tget_set_d64.c b/tests/tget_set_d64.c index eb66ed943..35ab6e45e 100644 --- a/tests/tget_set_d64.c +++ b/tests/tget_set_d64.c @@ -555,7 +555,9 @@ main (int argc, char *argv[]) printf ("Using BID format\n"); #endif +#if !defined(MPFR_ERRDIVZERO) check_random_bytes (); +#endif coverage (); check_misc (); check_random (); |