Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):
Browse files Browse the repository at this point in the history
	Also use for 32-bit.
  • Loading branch information
Ulrich Drepper committed Apr 12, 2008
1 parent 3b6d574 commit 9e113ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2008-04-11 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):
Also use for 32-bit.
* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use
__nextafter instead of nextafter to avoid local PLT.
* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ __NTH (__signbit (double __x))
__extension__ union { double __d; int __i[2]; } __u = { __d: __x };
return __u.__i[0] < 0;
}
# if defined __powerpc64__ && defined __LONGDOUBLE128
# ifdef __LONGDOUBLE128
__MATH_INLINE int
__NTH (__signbitl (long double __x))
{
__extension__ union { long double __d; long int __i[2]; } __u = { __d: __x };
__extension__ union { long double __d; int __i[4]; } __u = { __d: __x };
return __u.__i[0] < 0;
}
# endif
Expand Down

0 comments on commit 9e113ec

Please sign in to comment.