summaryrefslogtreecommitdiff
path: root/libm/double/fltest2.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-22 14:04:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-22 14:04:29 +0000
commit7ce331c01ce6eb7b3f5c715a38a24359da9c6ee2 (patch)
tree3a7e8476e868ae15f4da1b7ce26b2db6f434468c /libm/double/fltest2.c
parentc117dd5fb183afb1a4790a6f6110d88704be6bf8 (diff)
Totally rework the math library, this time based on the MacOs X
math library (which is itself based on the math lib from FreeBSD). -Erik
Diffstat (limited to 'libm/double/fltest2.c')
-rw-r--r--libm/double/fltest2.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libm/double/fltest2.c b/libm/double/fltest2.c
deleted file mode 100644
index 405b81b6a..000000000
--- a/libm/double/fltest2.c
+++ /dev/null
@@ -1,18 +0,0 @@
-int drand();
-double exp(), frexp(), ldexp();
-volatile double x, y, z;
-
-main()
-{
-int i, e;
-
-for( i=0; i<100000; i++ )
- {
- drand(&x);
- x = exp( 10.0*(x - 1.5) );
- y = frexp( x, &e );
- z = ldexp( y, e );
- if( z != x )
- abort();
- }
-}