mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Update.
1999-08-02 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/s_nexttowardf.c: Fix typo.
This commit is contained in:
parent
b533f96fb1
commit
d03db7f0c7
@ -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):
|
||||
|
@ -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
|
||||
|
@ -39,7 +39,7 @@
|
||||
ix = hx&0x7fffffff; /* |x| */
|
||||
iy = hy&0x7fffffff; /* |y| */
|
||||
|
||||
if(((ix>=0x7f800000) || /* x 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 */
|
||||
|
Loading…
Reference in New Issue
Block a user