lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Luiz,

Thursday, December 3, 2009, 6:05:12 PM, you wrote:

you can try (1+1i)^4 with numlua

>> > =(1+1i)^2
>> 1.2246063538224e-016+2i
>> 
>> 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).


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com