lua-users home
lua-l archive

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


2012/11/14 Richter, Jörg <Joerg.Richter@pdv-fs.de>:
>> The overall idea is quite simple. There will be two kinds of numbers,
>> integers and floats.
>
> Does this mean that the following program will fail:
>
> t = { true }
> assert( t[1.0] )
>

I would hope so.  Anything based on floating-point equality
deserves to fail.