summaryrefslogtreecommitdiff
path: root/tests/tadd_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-10-26 16:01:03 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-10-26 16:01:03 +0000
commit8f9e71f46236bbc896e671807a54e02f769429f6 (patch)
tree1d6cba2b9a0c0a59cd6f46f9cda34d6435e58a3d /tests/tadd_ui.c
parenta80407d375b7b50c309c042053ef88155dca9c29 (diff)
downloadmpfr-8f9e71f46236bbc896e671807a54e02f769429f6.tar.gz
drand -> drand48
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1440 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tadd_ui.c')
-rw-r--r--tests/tadd_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tadd_ui.c b/tests/tadd_ui.c
index 5a68f79e7..453239320 100644
--- a/tests/tadd_ui.c
+++ b/tests/tadd_ui.c
@@ -92,7 +92,7 @@ int main(argc,argv) int argc; char *argv[];
N = (argc<2) ? 1000000 : atoi(argv[1]);
rnd_mode = (argc<3) ? -1 : atoi(argv[2]);
for (i=0;i<1000000;i++) {
- x = drand();
+ x = drand48();
y = lrand48();
if (ABS(x)>2.2e-307 && x+y<1.7e+308 && x+y>-1.7e308) {
/* avoid denormalized numbers and overflows */