diff options
author | David Schultz <das@FreeBSD.org> | 2005-03-07 04:55:22 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2005-03-07 04:55:22 +0000 |
commit | 1dfab5edec54cfecf3041ebfb755585aab13024c (patch) | |
tree | 0587ae7e38dc49cbd8c4f33e5beaf44770486b0f | |
parent | e0fe8e44407ab4c59902f18d6542f1faa6ba1d58 (diff) |
Notes
-rw-r--r-- | lib/libc/alpha/_fpmath.h | 1 | ||||
-rw-r--r-- | lib/libc/amd64/_fpmath.h | 3 | ||||
-rw-r--r-- | lib/libc/arm/_fpmath.h | 3 | ||||
-rw-r--r-- | lib/libc/i386/_fpmath.h | 3 | ||||
-rw-r--r-- | lib/libc/powerpc/_fpmath.h | 1 | ||||
-rw-r--r-- | lib/libc/sparc64/_fpmath.h | 1 |
6 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/alpha/_fpmath.h b/lib/libc/alpha/_fpmath.h index e44966824955..8b6d09ec97b1 100644 --- a/lib/libc/alpha/_fpmath.h +++ b/lib/libc/alpha/_fpmath.h @@ -38,6 +38,7 @@ union IEEEl2bits { #define mask_nbit_l(u) ((void)0) #define LDBL_IMPLICIT_NBIT +#define LDBL_NBIT 0 #define LDBL_MANH_SIZE 20 #define LDBL_MANL_SIZE 32 diff --git a/lib/libc/amd64/_fpmath.h b/lib/libc/amd64/_fpmath.h index 08ec6f2541a9..8f8cf6fb8075 100644 --- a/lib/libc/amd64/_fpmath.h +++ b/lib/libc/amd64/_fpmath.h @@ -38,7 +38,8 @@ union IEEEl2bits { } bits; }; -#define mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) +#define LDBL_NBIT 0x80000000 +#define mask_nbit_l(u) ((u).bits.manh &= ~LDBL_NBIT) #define LDBL_MANH_SIZE 32 #define LDBL_MANL_SIZE 32 diff --git a/lib/libc/arm/_fpmath.h b/lib/libc/arm/_fpmath.h index d7a78aa052e7..80e764f8eacf 100644 --- a/lib/libc/arm/_fpmath.h +++ b/lib/libc/arm/_fpmath.h @@ -37,7 +37,8 @@ union IEEEl2bits { } bits; }; -#define mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) +#define LDBL_NBIT 0x80000000 +#define mask_nbit_l(u) ((u).bits.manh &= ~LDBL_NBIT) #define LDBL_MANH_SIZE 32 #define LDBL_MANL_SIZE 32 diff --git a/lib/libc/i386/_fpmath.h b/lib/libc/i386/_fpmath.h index d7a78aa052e7..80e764f8eacf 100644 --- a/lib/libc/i386/_fpmath.h +++ b/lib/libc/i386/_fpmath.h @@ -37,7 +37,8 @@ union IEEEl2bits { } bits; }; -#define mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff) +#define LDBL_NBIT 0x80000000 +#define mask_nbit_l(u) ((u).bits.manh &= ~LDBL_NBIT) #define LDBL_MANH_SIZE 32 #define LDBL_MANL_SIZE 32 diff --git a/lib/libc/powerpc/_fpmath.h b/lib/libc/powerpc/_fpmath.h index 58ee942a9fab..6d80eb4bdf4e 100644 --- a/lib/libc/powerpc/_fpmath.h +++ b/lib/libc/powerpc/_fpmath.h @@ -38,6 +38,7 @@ union IEEEl2bits { #define mask_nbit_l(u) ((void)0) #define LDBL_IMPLICIT_NBIT +#define LDBL_NBIT 0 #define LDBL_MANH_SIZE 20 #define LDBL_MANL_SIZE 32 diff --git a/lib/libc/sparc64/_fpmath.h b/lib/libc/sparc64/_fpmath.h index f4de8fd8fb5b..e5f2238ac8d1 100644 --- a/lib/libc/sparc64/_fpmath.h +++ b/lib/libc/sparc64/_fpmath.h @@ -39,6 +39,7 @@ union IEEEl2bits { #define mask_nbit_l(u) ((void)0) #define LDBL_IMPLICIT_NBIT +#define LDBL_NBIT 0 #define LDBL_MANH_SIZE 48 #define LDBL_MANL_SIZE 64 |