summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2011-01-13 18:14:26 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2011-01-13 18:14:26 +0000
commit12bcc8280a3db1dd5c236ab411cffb97c5570362 (patch)
treef850de94e07e56c8594d5a91b857bee5134ab70f
parentd86225e0ff1e950fc69cb32fb536878ed1cd7374 (diff)
downloadmpfr-12bcc8280a3db1dd5c236ab411cffb97c5570362.tar.gz
[out_raw.c] exchanged bits for precision and exponent
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7337 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--src/out_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/out_raw.c b/src/out_raw.c
index 446074971..f133a5169 100644
--- a/src/out_raw.c
+++ b/src/out_raw.c
@@ -9,9 +9,9 @@
01: normal
10: Inf
11: NaN
- - 1 bit for the precision encoding (prec_enc)
- 1 bit for the exponent encoding (exp_enc) for normal numbers,
otherwise 0 is stored here (reserved for future extensions)
+ - 1 bit for the precision encoding (prec_enc)
If prec_enc=0, the remaining 27 bits encode the precision (< 2^27)
If prec_enc=1, the precision is stored in the following 27 bits
(high part) and then 32 bits (low part). Thus the maximal precision