Roberto Ierusalimschy
|
45c430eac0
addition of '.0' to float representation done by the kernel
|
11 years ago |
Roberto Ierusalimschy
|
27d9219cf3
no more integer exponentiation
|
11 years ago |
Roberto Ierusalimschy
|
12bd01c567
added comments to several functions
|
11 years ago |
Roberto Ierusalimschy
|
06dc893f88
in 'for' loops, make the limit an integer whenever initial value and
|
11 years ago |
Roberto Ierusalimschy
|
c549d4fe64
'lua_strtonum' (and 'luaO_str2num') now return string size, instead of
|
11 years ago |
Roberto Ierusalimschy
|
ddff6ecf30
function 'limittointeger' no needed (now that 'tointeger_aux' handles
|
11 years ago |
Roberto Ierusalimschy
|
1a6ef098b0
'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' plus proper
|
11 years ago |
Roberto Ierusalimschy
|
b123a88673
merge of common parts from 'limittointeger' and 'luaV_tointeger_'
|
11 years ago |
Roberto Ierusalimschy
|
ffa43df3cd
'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue')
|
11 years ago |
Roberto Ierusalimschy
|
9c4398de8f
'for' loop tries to convert limit to integer when initial value and
|
11 years ago |
Roberto Ierusalimschy
|
e98ba351ce
n^-m gives float result (instead of error)
|
11 years ago |
Roberto Ierusalimschy
|
037a70dfea
cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from
|
11 years ago |
Roberto Ierusalimschy
|
8f961da3db
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
|
11 years ago |
Roberto Ierusalimschy
|
2771050dfa
'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'
|
11 years ago |
Roberto Ierusalimschy
|
a8aede68c7
new definition for 'luai_nummod' (using 'fmod')
|
11 years ago |
Roberto Ierusalimschy
|
c7859a046d
using 'volatile' in 'tofloat' to ensure result has the same precision
|
11 years ago |
Roberto Ierusalimschy
|
7d514af0bc
bug (in work version): comparisons should not try to convert
|
11 years ago |
Roberto Ierusalimschy
|
3d1c6730da
detail ('1U' -> '1u', like other unsigned constants in the code)
|
11 years ago |
Roberto Ierusalimschy
|
ea69f17d98
macro 'tostring' is used only by 'luaV_concat'
|
11 years ago |
Roberto Ierusalimschy
|
114d10cbc5
detail (comment)
|
11 years ago |
Roberto Ierusalimschy
|
9f3f5b6f41
details
|
11 years ago |
Roberto Ierusalimschy
|
cd12410195
new macro 'cast_void'
|
11 years ago |
Roberto Ierusalimschy
|
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
|
11 years ago |
Roberto Ierusalimschy
|
d438e1379d
insertion of ".0" in floats with integer values done by "luaL_tolstring",
|
11 years ago |
Roberto Ierusalimschy
|
86dd8bf3f5
no more 'L' in macros "luai_num*" (several places that use those macros
|
11 years ago |
Roberto Ierusalimschy
|
0a850e641d
larger limit + better error messages for loop detection in inheritance
|
11 years ago |
Roberto Ierusalimschy
|
1ea2d20f74
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 years ago |
Roberto Ierusalimschy
|
c0edab0f6d
first implementation of bitwise operators '&' (band), '|' (bor),
|
11 years ago |
Roberto Ierusalimschy
|
a8f8c7fd80
integer exponentiation with negative exponent is invalid
|
11 years ago |
Roberto Ierusalimschy
|
26629d0af1
details (a few casts moved from macro invocation to macro definition)
|
12 years ago |