diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-06-04 11:17:52 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-06-04 11:17:52 +0000 |
commit | f1e3597c3b9aebdf1866910c11f2e547a2cea5d0 (patch) | |
tree | b9700b12d157386e1cb96c74c223b65e3da57a74 /tests/tmul_ui.c | |
parent | ed482dd48a1e8efadea38e31c0a21832e3eb5430 (diff) | |
download | mpfr-f1e3597c3b9aebdf1866910c11f2e547a2cea5d0.tar.gz |
[tests/t{add,div,mul,sub}_ui.c] Replaced tgeneric_ui.c by tgeneric.c,
showing a bug in mpfr_mul_ui (missing inexact flag).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9504 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tmul_ui.c')
-rw-r--r-- | tests/tmul_ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tmul_ui.c b/tests/tmul_ui.c index a69922fa5..fa4aa1c12 100644 --- a/tests/tmul_ui.c +++ b/tests/tmul_ui.c @@ -73,9 +73,9 @@ check_inexact (mpfr_prec_t p) } #define TEST_FUNCTION mpfr_mul_ui -#define INTEGER_TYPE unsigned long +#define ULONG_ARG2 #define RAND_FUNCTION(x) mpfr_random2(x, MPFR_LIMB_SIZE (x), 1, RANDS) -#include "tgeneric_ui.c" +#include "tgeneric.c" int main (int argc, char *argv[]) @@ -279,7 +279,7 @@ main (int argc, char *argv[]) mpfr_clear(x); mpfr_clear(y); - test_generic_ui (2, 500, 100); + test_generic (2, 500, 100); tests_end_mpfr (); return 0; |