[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: math.maxint (Re: [ANN] Lua 5.3.0 (work1) now available)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 30 Apr 2014 12:48:05 -0300
> I have just been documenting some of my code, and was typing the
> sentence "Numbers should be such that no precision is lost in
> addition, e.g. integers not too close to M" when I remembered this
> thread. Does nobody else miss math.maxint?
Next work release will have both math.mininteger and
math.maxinteger. (These constants will be defined in C,
too: LUA_MININTEGER/LUA_MAXINTEGER.)
-- Roberto