diff options
author | Richard Henderson <rth@redhat.com> | 2007-03-14 00:40:50 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2007-03-14 00:40:50 +0000 |
commit | 62789da349afecda9f1a9c1e549b71d794def872 (patch) | |
tree | 070b49c3be86f7b88eab18380b0b3a55f39127b3 /sysdeps/alpha/fpu/bits | |
parent | a5ea509b614e4e0e7593cc5e0138fabed69b2e7b (diff) | |
download | glibc-62789da349afecda9f1a9c1e549b71d794def872.tar.gz glibc-62789da349afecda9f1a9c1e549b71d794def872.tar.xz glibc-62789da349afecda9f1a9c1e549b71d794def872.zip |
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
* sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding. * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New. * sysdeps/alpha/fpu/libm-test-ulps: Regenerate. * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file. 2007-03-13 Richard Henderson <rth@redhat.com>
Diffstat (limited to 'sysdeps/alpha/fpu/bits')
-rw-r--r-- | sysdeps/alpha/fpu/bits/mathinline.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/alpha/fpu/bits/mathinline.h b/sysdeps/alpha/fpu/bits/mathinline.h index 87d40058c3..bcc1b56d0d 100644 --- a/sysdeps/alpha/fpu/bits/mathinline.h +++ b/sysdeps/alpha/fpu/bits/mathinline.h @@ -178,6 +178,16 @@ __NTH (__signbit (double __x)) return __u.__i < 0; } +__MATH_INLINE int +__NTH (__signbitl (long double __x)) +{ + __extension__ union { + long double __d; + long __i[sizeof(long double)/sizeof(long)]; + } __u = { __d: __x }; + return __u.__i[sizeof(long double)/sizeof(long) - 1] < 0; +} + #endif /* C99 */ #endif /* __NO_MATH_INLINES */ |