From e276844e6f2f9a4fc602ca8333fb48f4a4b17c6d Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 16 Dec 2003 00:14:24 +0000 Subject: [PATCH] Fixed up the test for big numbers --- tests/Makefile.am | 1 + tests/bignum.data | 62 ----------------------------------------------- tests/bignum.stat | 28 --------------------- 3 files changed, 1 insertion(+), 90 deletions(-) delete mode 100644 tests/bignum.data delete mode 100644 tests/bignum.stat diff --git a/tests/Makefile.am b/tests/Makefile.am index 8de36776..fe25550e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -7,6 +7,7 @@ TESTS_ENVIRONMENT=top_srcdir=${top_srcdir} TESTS = command/aggregate.sh \ command/autorecod.sh \ command/beg-data.sh \ + command/bignum.sh \ bugs/double-frequency.sh \ bugs/html-frequency.sh diff --git a/tests/bignum.data b/tests/bignum.data deleted file mode 100644 index 1a1421f7..00000000 --- a/tests/bignum.data +++ /dev/null @@ -1,62 +0,0 @@ -0 -0.1 -0.5 -0.8 -0.9 -0.999 -1 -2 -3 -4 -5 -12 -123 -1234 -12345 -123456 -1234567 -12345678 -123456789 -1234567890 -19999999999 -199999999999 -1234567890123 -19999999999999 -199999999999999 -1234567890123456 -19999999999999999 -123456789012345678 -1999999999999999999 -12345678901234567890 -199999999999999999999 -1234567890123456789012 -19999999999999999999999 -123456789012345678901234 -1999999999999999999999999 -12345678901234567890123456 -199999999999999999999999999 -1234567890123456789012345678 -19999999999999999999999999999 -123456789012345678901234567890 -1999999999999999999999999999999 -12345678901234567890123456789012 -199999999999999999999999999999999 -1234567890123456789012345678901234 -19999999999999999999999999999999999 -123456789012345678901234567890123456 -1999999999999999999999999999999999999 -12345678901234567890123456789012345678 -199999999999999999999999999999999999999 -1234567890123456789012345678901234567890 -1999999999999999999999999999999999999999 -1e40 -1.1e40 -1.5e40 -1e41 -1e50 -1e100 -1e150 -1e200 -1e250 -1e300 -1.79641e308 diff --git a/tests/bignum.stat b/tests/bignum.stat deleted file mode 100644 index df5cae31..00000000 --- a/tests/bignum.stat +++ /dev/null @@ -1,28 +0,0 @@ -title 'Test use of big numbers'. - -*** Do the portable output. -remark EOF ----------------------------------------------------------------------- -Testing use of big numbers.\n -The numbers in the data file are designed for IEEE754 double -format--if your system uses something different then the test needs to -be adjusted for whatever are big numbers to your system. ----------------------------------------------------------------------- -EOF -data list file='bignum.data'/BIGNUM 1-40. -list. - -*** Do the nonportable output for fun. -remark EOF -NOCOMP -SUCCESS? ----------------------------------------------------------------------- -This test merely shows whether your system can successfully handle -floating-point overflow. If you get a fatal exception at this point, -the source needs some editing--glob.c should mask overflow exceptions -in init_glob(). Again, the numbers are specific to IEEE754 double -format. ----------------------------------------------------------------------- -EOF -descriptives BIGNUM. -rem-SUCCESS -- 2.30.2