summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2003-12-10 13:04:42 +0000
committergrehan <grehan@FreeBSD.org>2003-12-10 13:04:42 +0000
commit6a92ab4ec16c90f3fef327f229887f868e6216f5 (patch)
treed2dbf2ba41f7076454dbaef0931aa880f76b778b /lib
parent5b8e9ac6f58cd3412c475a889fadb19148032c7c (diff)
downloadFreeBSD-src-6a92ab4ec16c90f3fef327f229887f868e6216f5.zip
FreeBSD-src-6a92ab4ec16c90f3fef327f229887f868e6216f5.tar.gz
- Put manh/manl bitfields into correct-sized integral type.
- remove XXX normalization bit comment, code is correct.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/powerpc/_fpmath.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/powerpc/_fpmath.h b/lib/libc/powerpc/_fpmath.h
index 52129a4..32a3e04 100644
--- a/lib/libc/powerpc/_fpmath.h
+++ b/lib/libc/powerpc/_fpmath.h
@@ -29,14 +29,13 @@
union IEEEl2bits {
long double e;
struct {
- unsigned int sign :1;
- unsigned int exp :15;
- unsigned long manh :48;
- unsigned long manl :64;
+ unsigned int sign :1;
+ unsigned int exp :15;
+ unsigned long long manh :48;
+ unsigned long long manl :64;
} bits;
};
-/* XXX does powerpc have a normalization bit? */
#define mask_nbit_l(u) ((void)0)
#define LDBL_IMPLICIT_NBIT
OpenPOWER on IntegriCloud