[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3 and C++ exceptions
- From: Lourival Vieira Neto <lourival.neto@...>
- Date: Mon, 16 Mar 2015 15:15:59 -0300
On Mon, Mar 16, 2015 at 2:42 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> Perhaps you may want to take a look at this patch, which removes
>> floating-point numbers completely from 5.3.
>
> Can't it be done simply (or at least less intrusively) by defining Lua
> numbers to be ints?
By simply redefining Lua numbers, I think not. Less intrusively,
definitely yes. I used this approach for three reasons: guarantee just
one execution flow for numbers, reduce the binary size and as a
exercise =).
--
Lourival Vieira Neto