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 | 9ea0d865795ca73b4e5bb13f7721b1e091bc6eee (patch) | |
| tree | 4810333e22bddc22f4809071c8bf071acda4aba6 /sysdeps/alpha/fpu/bits | |
| parent | 0c3c8450b7a24d94b107e4e736ba0d5d6e3c2d9b (diff) | |
| download | glibc-9ea0d865795ca73b4e5bb13f7721b1e091bc6eee.tar.xz glibc-9ea0d865795ca73b4e5bb13f7721b1e091bc6eee.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.
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 */ |
