[Python-Dev] Decimal and Exponentiation
Facundo Batista
facundobatista at gmail.com
Tue May 23 14:32:40 CEST 2006
2006/5/19, Tim Peters <tim.peters at gmail.com>:
> If you're not a numeric expert, I wouldn't recommend that you try this
> yourself (in particular, trying to implement x**y as exp(ln(x)*y)
> using the same precision is mathematically correct but is numerically
> badly naive).
I'd start to see this not before two weeks (I have a conference, and
need to finish my papers).
TIm, we both know that I'm not, under any point of view, a numeric
expert. So, I'd ask you a favor.
Could you please send here some examples, for a given precision, of
perilous "not-int ** not-int" situations, just to add them to the test
cases and be sure that the modifications to Decimal are safe enough?
Or just point to some docs?
Thank you very much!
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-Dev
mailing list