diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-02-20 10:07:41 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2006-02-20 10:07:41 +0000 |
commit | a2b97a778f689d81aa39be0ee18be6461675a2ac (patch) | |
tree | 130f64f1666174143bcef1bee9811264fb598d63 /tests/trandom.c | |
parent | 60c4190b171bda5d9b576fbd6ca6dc6ce67afe7e (diff) | |
download | mpfr-a2b97a778f689d81aa39be0ee18be6461675a2ac.tar.gz |
trandom.c: reformat.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4023 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/trandom.c')
-rw-r--r-- | tests/trandom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/trandom.c b/tests/trandom.c index 134dd4720..d2a3d2cab 100644 --- a/tests/trandom.c +++ b/tests/trandom.c @@ -57,7 +57,7 @@ test_random (long nbtests, mp_prec_t prec, int verbose) } av /= nbtests; - var = (var /nbtests) - av*av; + var = (var / nbtests) - av*av; th = (double) nbtests / size_tab; @@ -149,7 +149,7 @@ test_random2 (long nbtests, mp_prec_t prec, int verbose) } av /= nbtests; - var = (var /nbtests) - av*av; + var = (var / nbtests) - av*av; th = (double)nbtests / size_tab; printf("Average = %.5f\nVariance = %.5f\n", av, var); |