summaryrefslogtreecommitdiff
path: root/tests/tsqrt_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2002-03-25 17:10:50 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2002-03-25 17:10:50 +0000
commitd118c2ab825a19f88c861b856a69402b8e4fbbb2 (patch)
treedc9b811d62e0c15a56c260b2ebdcf21675d197a0 /tests/tsqrt_ui.c
parent91f92d11d2b95e7378c3508f745a51fc96490d05 (diff)
downloadmpfr-d118c2ab825a19f88c861b856a69402b8e4fbbb2.tar.gz
replaced getpid() by time(NULL)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1772 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt_ui.c')
-rw-r--r--tests/tsqrt_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tsqrt_ui.c b/tests/tsqrt_ui.c
index 16b8552f6..d40eb63d6 100644
--- a/tests/tsqrt_ui.c
+++ b/tests/tsqrt_ui.c
@@ -69,7 +69,7 @@ main (void)
set_fpc_csr(exp.fc_word);
#endif
- SEED_RAND (getpid ());
+ SEED_RAND (time(NULL));
for (i=0;i<1000000;i++) {
a = LONG_RAND();
/* machine arithmetic must agree if a <= 2.0^53 */