[SciPy-user] Can SciPy compute ln(640320**3 + 744)/163**.5 to 30 places?

Fernando Perez fperez.net at gmail.com
Sun Jan 21 22:01:51 CST 2007


On 1/21/07, Dick Moores <rdm at rcblue.com> wrote:
> Sorry, I replied to the wrong post. What I really want to see is how
> to use clnum to do (5/23)**(2/27).

The answer was already in the message you quoted:

> > >In [7]: n.exp(n.log(n.mpq('5/23')*n.mpq('2/7')))
> > >Out[7]:
> > >mpf('0.06211180124223602484472049689440993788819875776397515527949',55)


Cheers,

f

ps - you don't need to cc me separately, I'm on the scipy list already.


More information about the SciPy-user mailing list