summaryrefslogtreecommitdiffstats
path: root/lib/libc/ia64
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-01-18 07:57:02 +0000
committerdas <das@FreeBSD.org>2004-01-18 07:57:02 +0000
commitdaf3a2f5099f4c07a58cf314a8b6ddd65c8dca52 (patch)
tree38d0859a96bf4db3a9d7b269a8db6c0dab6c7d76 /lib/libc/ia64
parent3fa98ba92859997d79fe96a7b53852cd5c4d664d (diff)
downloadFreeBSD-src-daf3a2f5099f4c07a58cf314a8b6ddd65c8dca52.zip
FreeBSD-src-daf3a2f5099f4c07a58cf314a8b6ddd65c8dca52.tar.gz
Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the
high and low words of the mantissa in bits, respectively.
Diffstat (limited to 'lib/libc/ia64')
-rw-r--r--lib/libc/ia64/_fpmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/ia64/_fpmath.h b/lib/libc/ia64/_fpmath.h
index 5d7a36b..311574a 100644
--- a/lib/libc/ia64/_fpmath.h
+++ b/lib/libc/ia64/_fpmath.h
@@ -54,6 +54,9 @@ union IEEEl2bits {
#define mask_nbit_l(u) ((u).bits.manh &= 0xffffff7f)
#endif
+#define LDBL_MANH_SIZE 32
+#define LDBL_MANL_SIZE 32
+
#define LDBL_TO_ARRAY32(u, a) do { \
(a)[0] = (uint32_t)(u).bits.manl; \
(a)[1] = (uint32_t)(u).bits.manh; \
OpenPOWER on IntegriCloud