[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Help: Has someone knows how to replace lua_Number with a C++ class?
- From: Xavier Wang <weasley.wx@...>
- Date: Mon, 21 May 2012 22:12:49 +0800
2012/5/21 Patrick Rapin <toupie300@gmail.com>:
>> e.g. I can do this:
>>> print(2^100)
>> 1267650600200000000000000000000
>
> But note that this is a wrong result.
> 2^100 is 1267650600228229401496703205376
>
My bad :-(, my lmapm module only have 10 precision, I have modified it to 128.