[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] GSL Shell new beta release with anti-gran graphics module
- From: Pavol Severa <pavol.severa@...>
- Date: Thu, 3 Dec 2009 16:11:09 +0100
2009/12/3 Luiz Henrique de Figueiredo <email@example.com>:
>> > =(1+1i)^2
>> The complex module from numlua doesn't have these problems
> I get the same results with my lcomplex. We're probably both using cpow.
> Perhaps numlua converts z^2 to z*z (which does give 0+2i).
yes (it uses the usual algorithm for integer powers, cumputing z^2,
(z^2)^2, ((z^2)^2)^2 ... and multiplying the results; generally, all
it's algorithms seem to be optimal)