aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-02 23:56:41 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-02 23:56:41 +0000
commitd03db7f0c7c59bf5ef95114b5787324a5171587a (patch)
treef6da95ae48f9480dd1f28af5020d9e11c1a67082 /sysdeps
parentb533f96fb14ba738892b5bff6a9126af198db42f (diff)
downloadglibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.tar
glibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.tar.gz
glibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.tar.bz2
glibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.zip
Update.
1999-08-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/s_nexttowardf.c: Fix typo.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/s_nextafter.c2
-rw-r--r--sysdeps/generic/s_nexttowardf.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/s_nextafter.c b/sysdeps/generic/s_nextafter.c
index 996b5ceca3..8ddcbe5413 100644
--- a/sysdeps/generic/s_nextafter.c
+++ b/sysdeps/generic/s_nextafter.c
@@ -85,6 +85,8 @@ weak_alias (__nextafter, nextafter)
#ifdef NO_LONG_DOUBLE
strong_alias (__nextafter, __nextafterl)
weak_alias (__nextafter, nextafterl)
+#undef __nexttoward
strong_alias (__nextafter, __nexttoward)
+#undef nexttoward
weak_alias (__nextafter, nexttoward)
#endif
diff --git a/sysdeps/generic/s_nexttowardf.c b/sysdeps/generic/s_nexttowardf.c
index f4cf18d06e..56cc04c10b 100644
--- a/sysdeps/generic/s_nexttowardf.c
+++ b/sysdeps/generic/s_nexttowardf.c
@@ -39,8 +39,8 @@
ix = hx&0x7fffffff; /* |x| */
iy = hy&0x7fffffff; /* |y| */
- if(((ix>=0x7f800000) || /* x is nan */
- ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */
+ if((ix>=0x7f800000) || /* x is nan */
+ ((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */
return x+y;
if((long double) x==y) return y; /* x=y, return y */
if(ix==0) { /* x == 0 */