Message259465
OMG is decimal that fast?
Maybe I should change the issue then to "documentation missing": it nowhere says in the documentation that decimal has optimized multiprecision computations. It only says that precision "can be as large as needed for a given problem", but I never realized that that included millions of digits.
It computed to my complete surprise 2**2**29 to full precision (161 million decimal digits) in about a minute. That smells suspiciously like FFT style multiplication, which implies that it is way more sophisticated than integer multiplication!
I suggest that the documentation of the decimal module recommends using decimal for multiprecision computations, as long as you use the builtin version. |
|
Date |
User |
Action |
Args |
2016-02-03 09:42:27 | jneb | set | recipients:
+ jneb, mark.dickinson, skrah, docs@python, serhiy.storchaka |
2016-02-03 09:42:27 | jneb | set | messageid: <1454492547.73.0.915660717034.issue26256@psf.upfronthosting.co.za> |
2016-02-03 09:42:27 | jneb | link | issue26256 messages |
2016-02-03 09:42:27 | jneb | create | |
|