Re: [Python-Dev] Decimal and Exponentiation

2006-05-23 Thread Tim Peters
[Facundo Batista] > 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 > p

Re: [Python-Dev] Decimal and Exponentiation

2006-05-23 Thread Facundo Batista
2006/5/19, Tim Peters <[EMAIL PROTECTED]>: > 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

Re: [Python-Dev] Decimal and Exponentiation

2006-05-19 Thread Tim Peters
[elventear] > I am the in the need to do some numerical calculations that involve > real numbers that are larger than what the native float can handle. > > I've tried to use Decimal, but I've found one main obstacle that I > don't know how to sort. I need to do exponentiation with real > exponents,