diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-02 23:56:41 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-02 23:56:41 +0000 |
commit | d03db7f0c7c59bf5ef95114b5787324a5171587a (patch) | |
tree | f6da95ae48f9480dd1f28af5020d9e11c1a67082 /sysdeps | |
parent | b533f96fb14ba738892b5bff6a9126af198db42f (diff) | |
download | glibc-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.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/s_nextafter.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/s_nexttowardf.c | 4 |
2 files changed, 4 insertions, 2 deletions
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 */ |