summaryrefslogtreecommitdiffstats
path: root/lib/libc/sparc64/_fpmath.h
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/sparc64/_fpmath.h
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/sparc64/_fpmath.h')
-rw-r--r--lib/libc/sparc64/_fpmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sparc64/_fpmath.h b/lib/libc/sparc64/_fpmath.h
index 69a4b03..ba8c403 100644
--- a/lib/libc/sparc64/_fpmath.h
+++ b/lib/libc/sparc64/_fpmath.h
@@ -40,6 +40,9 @@ union IEEEl2bits {
#define mask_nbit_l(u) ((void)0)
#define LDBL_IMPLICIT_NBIT
+#define LDBL_MANH_SIZE 48
+#define LDBL_MANL_SIZE 64
+
#define LDBL_TO_ARRAY32(u, a) do { \
(a)[0] = (uint32_t)(u).bits.manl; \
(a)[1] = (uint32_t)((u).bits.manl >> 32); \
OpenPOWER on IntegriCloud