[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua minus null (-0)
- From: Peter Hickman <peterhickman386@...>
- Date: Thu, 9 Jun 2011 11:27:30 +0100
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
- References:
- Lua minus null (-0), Sebastian
- Re: Lua minus null (-0), Dirk Laurie
- Re: Lua minus null (-0), Henk Boom
- Re: Lua minus null (-0), Dirk Laurie
- Re: Lua minus null (-0), Everett L Williams II
- Re: Lua minus null (-0), Dirk Laurie
- Re: Lua minus null (-0), David Kastrup
- Re: Lua minus null (-0), Dirk Laurie
- Re: Lua minus null (-0), David Kastrup
- Re: Lua minus null (-0), Dirk Laurie
- Re: Lua minus null (-0), David Kastrup