[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bigint lua port
- From: Ted Unangst <ted.unangst@...>
- Date: Thu, 22 Apr 2010 09:04:43 -0400
On Thu, Apr 22, 2010 at 6:24 AM, Liu Cheng <ccpp132@gmail.com> wrote:
> I just failed when exec following scripts:
> maybe some problems here? or I'm using it in a wrong way?
>
> dofile("bint.lua")
>
> local a = bigint(100)
> local i
>
> for i = 1, 10 do
> a = a * a
> end
>
> print(a)
Nope, I guess I broke it at some point. Works for some numbers, not
for others, I'll have to see why.
Good reason why the testcase should consist of more than the current
problem I'm working on.