lua-users home
lua-l archive

Re: Extending Lua for multiple light userdata types

[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.

AltStyle によって変換されたページ (->オリジナル) /