diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-01-13 18:14:26 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-01-13 18:14:26 +0000 |
commit | 12bcc8280a3db1dd5c236ab411cffb97c5570362 (patch) | |
tree | f850de94e07e56c8594d5a91b857bee5134ab70f | |
parent | d86225e0ff1e950fc69cb32fb536878ed1cd7374 (diff) | |
download | mpfr-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.c | 2 |
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 |