From d03db7f0c7c59bf5ef95114b5787324a5171587a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 2 Aug 1999 23:56:41 +0000 Subject: [PATCH] Update. 1999-08-02 Ulrich Drepper * sysdeps/generic/s_nexttowardf.c: Fix typo. --- ChangeLog | 4 ++++ sysdeps/generic/s_nextafter.c | 2 ++ sysdeps/generic/s_nexttowardf.c | 4 ++-- 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 + + * sysdeps/generic/s_nexttowardf.c: Fix typo. + 1999-08-02 Jakub Jelinek * 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 */ -- 2.7.4