aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/powerpc/_fpmath.h
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-01-18 07:57:02 +0000
committerDavid Schultz <das@FreeBSD.org>2004-01-18 07:57:02 +0000
commita8cb7cca0296c033effc11b8e04221c229ec66b8 (patch)
tree38d0859a96bf4db3a9d7b269a8db6c0dab6c7d76 /lib/libc/powerpc/_fpmath.h
parentd784b0c32c0b1df6255177fe8b6eb4c6e511db72 (diff)
downloadsrc-a8cb7cca0296c033effc11b8e04221c229ec66b8.tar.gz
src-a8cb7cca0296c033effc11b8e04221c229ec66b8.zip
Define LDBL_MANH_SIZE and LDBL_MANL_SIZE to be the sizes of the
high and low words of the mantissa in bits, respectively.
Notes
Notes: svn path=/head/; revision=124653
Diffstat (limited to 'lib/libc/powerpc/_fpmath.h')
-rw-r--r--lib/libc/powerpc/_fpmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/powerpc/_fpmath.h b/lib/libc/powerpc/_fpmath.h
index 32a3e048700f..9672da30f324 100644
--- a/lib/libc/powerpc/_fpmath.h
+++ b/lib/libc/powerpc/_fpmath.h
@@ -39,6 +39,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); \