summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-14 00:36:46 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-14 00:36:46 +0000
commit45740f4642c2e7f59221981138472c4b3f783176 (patch)
tree90fc3da0e81a83346eac482f50b03065f449849b /math
parent25ce4c6b9e6facade00a35eec94780c3c67cf249 (diff)
downloadglibc-45740f4642c2e7f59221981138472c4b3f783176.tar.gz
glibc-45740f4642c2e7f59221981138472c4b3f783176.tar.xz
glibc-45740f4642c2e7f59221981138472c4b3f783176.zip
Update.
2003-11-13  Andreas Jaeger  <aj@suse.de>

	* math/Makefile (CFLAGS-test-float.c): Add -fno-builtin.
	(CFLAGS-test-double.c): Likewise.
	(CFLAGS-test-ldouble.c): Likewise.
	(CPPFLAGS-test-ifloat.c): Likewise.
	(CPPFLAGS-test-idouble.c): Likewise.
	(CPPFLAGS-test-ildoubl.c): Likewise.

	* math/libm-test.inc (ceil_test): Test ceil (0.25).
Diffstat (limited to 'math')
-rw-r--r--math/Makefile12
-rw-r--r--math/libm-test.inc1
2 files changed, 7 insertions, 6 deletions
diff --git a/math/Makefile b/math/Makefile
index e34d41ce98..d04269d298 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -122,17 +122,17 @@ $(objpfx)test-ldouble.o: $(objpfx)libm-test.stmp
 $(objpfx)test-ildoubl.o: $(objpfx)libm-test.stmp
 endif
 
-CFLAGS-test-float.c = -fno-inline -ffloat-store
-CFLAGS-test-double.c = -fno-inline -ffloat-store
-CFLAGS-test-ldouble.c = -fno-inline -ffloat-store
+CFLAGS-test-float.c = -fno-inline -ffloat-store -fno-builtin
+CFLAGS-test-double.c = -fno-inline -ffloat-store -fno-builtin
+CFLAGS-test-ldouble.c = -fno-inline -ffloat-store -fno-builtin
 CFLAGS-test-tgmath.c = -fno-builtin
 CFLAGS-test-tgmath-ret.c = -fno-builtin
 CPPFLAGS-test-ifloat.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
-			 -DTEST_FAST_MATH
+			 -DTEST_FAST_MATH -fno-builtin
 CPPFLAGS-test-idouble.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
-			 -DTEST_FAST_MATH
+			 -DTEST_FAST_MATH -fno-builtin
 CPPFLAGS-test-ildoubl.c = -U__LIBC_INTERNAL_MATH_INLINES -D__FAST_MATH__ \
-			  -DTEST_FAST_MATH
+			  -DTEST_FAST_MATH -fno-builtin
 
 distribute += libm-test.inc gen-libm-test.pl README.libm-test
 
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 19e26c680a..8aa9aaaccc 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -1625,6 +1625,7 @@ ceil_test (void)
 
   TEST_f_f (ceil, M_PIl, 4.0);
   TEST_f_f (ceil, -M_PIl, -3.0);
+  TEST_f_f (ceil, 0.25, 1.0);
 
   END (ceil);
 }