[PATCH] Fix nexttoward on sparc64/ia64/m68k
Jakub Jelinek
jakub@redhat.com
Sat Sep 16 12:52:00 GMT 2000
Hi!
s_nexttoward.c is present both in ieee754/dbl-64 and ieee754/ldbl-*. In
dbl-64 it is for architectures which have 64bit long double, while the
ldbl-* version should be used on the other arches.
On ia64/m68k/sparc64 though comes dbl-64 in Implies before ldbl-*, so
s_nexttoward.c is used from dbl-64 directory. The result is that nexttoward
function is missing (spotted on sparc64).
i386 already has ldbl-96 first.
Fixed thusly:
2000-09-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/ia64/Implies: Reorder ieee754 implies so that ldbl-* comes
first.
* sysdeps/m68k/Implies: Likewise.
* sysdeps/sparc/sparc64/Implies: Likewise.
--- libc/sysdeps/ia64/Implies.jj Sat Aug 26 00:47:11 2000
+++ libc/sysdeps/ia64/Implies Sat Sep 16 21:29:24 2000
@@ -1,5 +1,5 @@
wordsize-64
# ia64 uses IEEE 754 floating point.
-ieee754/flt-32
-ieee754/dbl-64
ieee754/ldbl-96
+ieee754/dbl-64
+ieee754/flt-32
--- libc/sysdeps/m68k/Implies.jj Tue Jan 4 17:11:56 2000
+++ libc/sysdeps/m68k/Implies Sat Sep 16 21:29:35 2000
@@ -1,5 +1,5 @@
wordsize-32
# 68k uses IEEE 754 floating point.
-ieee754/flt-32
-ieee754/dbl-64
ieee754/ldbl-96
+ieee754/dbl-64
+ieee754/flt-32
--- libc/sysdeps/sparc/sparc64/Implies.jj Mon Sep 11 14:45:52 2000
+++ libc/sysdeps/sparc/sparc64/Implies Sat Sep 16 21:29:52 2000
@@ -1,6 +1,6 @@
wordsize-64
# SPARC uses IEEE 754 floating point.
-ieee754/flt-32
-ieee754/dbl-64
ieee754/ldbl-128
+ieee754/dbl-64
+ieee754/flt-32
sparc/sparc64/soft-fp
Jakub
More information about the Libc-hacker
mailing list