* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl):
Also use for 32-bit.
This commit is contained in:
parent
3b6d574e01
commit
9e113ecd80
@ -1,5 +1,7 @@
|
|||||||
2008-04-11 Ulrich Drepper <drepper@redhat.com>
|
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
|
* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Use
|
||||||
__nextafter instead of nextafter to avoid local PLT.
|
__nextafter instead of nextafter to avoid local PLT.
|
||||||
* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.
|
* sysdeps/powerpc/fpu/e_sqrt.c: Avoid call to fetestexcept.
|
||||||
|
@ -72,11 +72,11 @@ __NTH (__signbit (double __x))
|
|||||||
__extension__ union { double __d; int __i[2]; } __u = { __d: __x };
|
__extension__ union { double __d; int __i[2]; } __u = { __d: __x };
|
||||||
return __u.__i[0] < 0;
|
return __u.__i[0] < 0;
|
||||||
}
|
}
|
||||||
# if defined __powerpc64__ && defined __LONGDOUBLE128
|
# ifdef __LONGDOUBLE128
|
||||||
__MATH_INLINE int
|
__MATH_INLINE int
|
||||||
__NTH (__signbitl (long double __x))
|
__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;
|
return __u.__i[0] < 0;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user