Re: Unexpected calculation result with Lua53
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Unexpected calculation result with Lua53
- From: Jay Carlson <nop@...>
- Date: Sun, 3 May 2015 16:26:41 -0400
>> print(fact(66),fact(66.))
>>
>> Using fp parameter, return correct (?) result
>> Using integer parameter, return 0 (zero) result!!!!
>
> This will happen in C as well. So, why it is surprising?
Well, this *may* happen in C. :-)