@@ -0,0 +1,2 @@
+/test-float
+/test-double
@@ -0,0 +1,13 @@
+OPENLIBM_HOME=$(abspath ..)
+include ../Make.inc
+
+all: test-double test-float
+test-double: test-double.c
+ gcc $< -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
+test-float: test-float.c
+clean:
+ rm -f *~ *# test-double test-float
@@ -122,12 +122,12 @@
#include <float.h>
#include <fenv.h>
#else
-#include "math.h"
+#include "openlibm.h"
#include "float.h"
#include "fenv.h"
#endif
-#if 1 /* XXX scp XXX */
+#if 0 /* XXX scp XXX */
#define FE_INEXACT FE_INEXACT
#define FE_DIVBYZERO FE_DIVBYZERO
#define FE_UNDERFLOW FE_UNDERFLOW
@@ -1,4 +1,3 @@
-test-float.c [plain text]
/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 1997.