summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/_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/amd64/_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/amd64/_fpmath.h')
-rw-r--r--lib/libc/amd64/_fpmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/amd64/_fpmath.h b/lib/libc/amd64/_fpmath.h
index d8b60f2..e364518 100644
--- a/lib/libc/amd64/_fpmath.h
+++ b/lib/libc/amd64/_fpmath.h
@@ -40,6 +40,9 @@ union IEEEl2bits {
#define mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff)
+#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