Roberto Ierusalimschy
|
b123a88673
merge of common parts from 'limittointeger' and 'luaV_tointeger_'
|
11 роки тому |
Roberto Ierusalimschy
|
ffa43df3cd
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
|
11 роки тому |
Roberto Ierusalimschy
|
9c4398de8f
'for' loop tries to convert limit to integer when initial value and
|
11 роки тому |
Roberto Ierusalimschy
|
e98ba351ce
n^-m gives float result (instead of error)
|
11 роки тому |
Roberto Ierusalimschy
|
037a70dfea
cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from
|
11 роки тому |
Roberto Ierusalimschy
|
8f961da3db
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
|
11 роки тому |
Roberto Ierusalimschy
|
2771050dfa
'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'
|
11 роки тому |
Roberto Ierusalimschy
|
a8aede68c7
new definition for 'luai_nummod' (using 'fmod')
|
11 роки тому |
Roberto Ierusalimschy
|
c7859a046d
using 'volatile' in 'tofloat' to ensure result has the same precision
|
11 роки тому |
Roberto Ierusalimschy
|
7d514af0bc
bug (in work version): comparisons should not try to convert
|
11 роки тому |
Roberto Ierusalimschy
|
3d1c6730da
detail ('1U' -> '1u', like other unsigned constants in the code)
|
11 роки тому |
Roberto Ierusalimschy
|
ea69f17d98
macro 'tostring' is used only by 'luaV_concat'
|
11 роки тому |
Roberto Ierusalimschy
|
114d10cbc5
detail (comment)
|
11 роки тому |
Roberto Ierusalimschy
|
9f3f5b6f41
details
|
11 роки тому |
Roberto Ierusalimschy
|
cd12410195
new macro 'cast_void'
|
11 роки тому |
Roberto Ierusalimschy
|
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
|
11 роки тому |
Roberto Ierusalimschy
|
d438e1379d
insertion of ".0" in floats with integer values done by "luaL_tolstring",
|
11 роки тому |
Roberto Ierusalimschy
|
86dd8bf3f5
no more 'L' in macros "luai_num*" (several places that use those macros
|
11 роки тому |
Roberto Ierusalimschy
|
0a850e641d
larger limit + better error messages for loop detection in inheritance
|
11 роки тому |
Roberto Ierusalimschy
|
1ea2d20f74
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 роки тому |
Roberto Ierusalimschy
|
c0edab0f6d
first implementation of bitwise operators '&' (band), '|' (bor),
|
11 роки тому |
Roberto Ierusalimschy
|
a8f8c7fd80
integer exponentiation with negative exponent is invalid
|
11 роки тому |
Roberto Ierusalimschy
|
26629d0af1
details (a few casts moved from macro invocation to macro definition)
|
12 роки тому |
Roberto Ierusalimschy
|
af35c7f398
upvalues collected by reference count
|
12 роки тому |
Roberto Ierusalimschy
|
9eff921f8f
"barrier" for link prototype->cache changed to be consistent with
|
12 роки тому |
Roberto Ierusalimschy
|
439d74e29f
added 'local' bit (true => object is only refered by local variables)
|
12 роки тому |
Roberto Ierusalimschy
|
2f8c51a552
use unsigneds for unary minus, too
|
12 роки тому |
Roberto Ierusalimschy
|
453450d687
new macro 'l_floor' (allows 'floorf' even when other math operations
|
12 роки тому |
Roberto Ierusalimschy
|
130c0e40e0
new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible
|
12 роки тому |
Roberto Ierusalimschy
|
318575627f
avoid adding '.0' to "numbers" like "nan" and "inf"
|
12 роки тому |