lua-users home
lua-l archive

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


On 9 June 2011 11:15, David Kastrup <dak@gnu.org> wrote:
> Dirk Laurie <dpl@sun.ac.za> writes:
> By the way, I also don't consider it a particularly endearing language
> feature that %d and %x formatting produces garbage when you are leaving
> the range of C integers but are still well within the domain of Lua
> integers.

Just a little nitpick here. Lua does not have integers, they are all floats

"In the interest of simplicity Lua supports only one type of number,
floating point numbers."

http://lua-users.org/wiki/NumbersTutorial