Mark Dickinson <[email protected]> added the comment:
It's Table 3.6 ("Decimal interchange format parameters") in the final version
of IEEE 754; I'm not sure what that corresponds to in the various drafts. It
has column headings: "decimal32", "decimal64", "decimal128" and "decimal{k} (k
>= 32)".
Parameters for decimal{k}: k must be a multiple of 32. precision is
9*k/32-2. emax is 3*2**(k/16+3). I think these formulas all work for the
specific cases k in {32, 64, 128} too, so it should be easy to check that they
make sense.
They give an example below the table, too:
"For example, decimal256 would have p = 70 and emax = 1572864."
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8786>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com