aboutsummaryrefslogtreecommitdiff
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
parentb533f96fb14ba738892b5bff6a9126af198db42f (diff)
downloadglibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.zip
glibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.tar.gz
glibc-d03db7f0c7c59bf5ef95114b5787324a5171587a.tar.bz2
Update.
1999-08-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/s_nexttowardf.c: Fix typo.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/generic/s_nextafter.c2
-rw-r--r--sysdeps/generic/s_nexttowardf.c4
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 793a07c..d113918 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-08-02 Ulrich Drepper <drepper@cygnus.com>
+
+ * sysdeps/generic/s_nexttowardf.c: Fix typo.
+
1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction):
diff --git a/sysdeps/generic/s_nextafter.c b/sysdeps/generic/s_nextafter.c
index 996b5ce..8ddcbe5 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 f4cf18d..56cc04c 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 */