Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 14 Nov 2003 00:36:46 +0000 (00:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 14 Nov 2003 00:36:46 +0000 (00:36 +0000)
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).

ChangeLog
math/Makefile
math/libm-test.inc

index 8263ae0..3d9e3dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+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).
+
 2003-11-04  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/ifaddrs.c: Make sure it's the kernel who
index e34d41c..d04269d 100644 (file)
@@ -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
 
index 19e26c6..8aa9aaa 100644 (file)
@@ -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);
 }