Recursion or iteration (was Fibonacci series recursion error)
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue May 3 08:49:50 EDT 2011
On Tue, 03 May 2011 21:04:07 +1000, Chris Angelico wrote:
> And that, Your Honour, is why I prefer bignums (especially for integers)
> to floating point. Precision rather than performance.
I'm intrigued by your comment "especially for integers", which implies
that you might use bignums for non-integers. Out of curiosity, how would
you calculate:
sin(sqrt(7)*pi/31)
using bignums?
--
Steven
More information about the Python-list
mailing list