Message300781
| Author |
skrah |
| Recipients |
cheryl.sabella, docs@python, jneb, mark.dickinson, rhettinger, serhiy.storchaka, skrah, vstinner |
| Date |
2017年08月24日.11:20:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1503573610.39.0.320844482847.issue26256@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
What needs to be mentioned though is that the context has to be set
for unrounded calculations:
c = getcontext()
c.prec = MAX_PREC
c.Emax = MAX_EMAX
c.Emin = MIN_EMIN
Otherwise some people believe that the bignums are just rounded floating point arithmetic that is expected to be fast (I've seen this misconception somewhere, perhaps on Stackoverflow). |
|