Roberto Ierusalimschy
|
8f961da3db
macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that
|
11 年之前 |
Roberto Ierusalimschy
|
d99ffa920d
new type 'LUAI_UACINT' (result of an 'usual argument conversion' of
|
11 年之前 |
Roberto Ierusalimschy
|
a8aede68c7
new definition for 'luai_nummod' (using 'fmod')
|
11 年之前 |
Roberto Ierusalimschy
|
da4811238a
details (typos in comments)
|
11 年之前 |
Roberto Ierusalimschy
|
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
|
11 年之前 |
Roberto Ierusalimschy
|
c6c41e85b2
more uniformity for defining system-dependent features
|
11 年之前 |
Roberto Ierusalimschy
|
4ea60463f5
UTF-8 encoding exported as format '%U' in 'lua_pushfstring'
|
11 年之前 |
Roberto Ierusalimschy
|
86dd8bf3f5
no more 'L' in macros "luai_num*" (several places that use those macros
|
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
|
2f8c51a552
use unsigneds for unary minus, too
|
12 年之前 |
Roberto Ierusalimschy
|
e39da66c8c
macro 'lua_strx2number' does not need to be global
|
12 年之前 |
Roberto Ierusalimschy
|
6fb0b11350
string contatenation handles conversion of integers to strings +
|
12 年之前 |
Roberto Ierusalimschy
|
ee865b9fe7
new implementation for 'lua_strx2number' to correct small
|
12 年之前 |
Roberto Ierusalimschy
|
c75cca0559
detail (case '%d' of 'luaO_pushvfstring' should use integers)
|
12 年之前 |
Roberto Ierusalimschy
|
36e8771076
'luaO_str2int' more generic: accepts white spaces around the numeral
|
12 年之前 |
Roberto Ierusalimschy
|
67532d5a10
constant folding and API arithmetic with integers
|
12 年之前 |
Roberto Ierusalimschy
|
00744a2729
'luaO_arith' -> 'luaO_numarith'
|
12 年之前 |
Roberto Ierusalimschy
|
9c43d6a24e
new format "%I" in 'lua_pushfstring' for lua_Integer
|
12 年之前 |
Roberto Ierusalimschy
|
1294b09d8e
first implementation of literal integers (no constant folding yet)
|
12 年之前 |
Roberto Ierusalimschy
|
b559aed2d3
'l_tg' was renamed to 'l_mathop' and this use was not corrected at
|
12 年之前 |
Roberto Ierusalimschy
|
181a837cac
small improvement in the support of 'float' as lua_Number
|
12 年之前 |
Roberto Ierusalimschy
|
a3e1c40d6d
remove of unecessary luaD_checkstack. (In some cases, C should
|
13 年之前 |
Roberto Ierusalimschy
|
7377fbdebc
function prototype did not match one in .h
|
13 年之前 |
Roberto Ierusalimschy
|
0bd99b327b
avoid "unreachable" 'break'
|
13 年之前 |
Roberto Ierusalimschy
|
03a078493e
refuse things like 'inf' or 'Nan' as numerals
|
14 年之前 |
Roberto Ierusalimschy
|
5acc5b0c1e
using 'tolower' instead of 'toupper' (slightly simpler to implement)
|
14 年之前 |
Roberto Ierusalimschy
|
59547c6cda
macro 'ltoupper' instead of 'lisupper' (more usefull for Lua)
|
14 年之前 |
Roberto Ierusalimschy
|
cf0562e1e7
detail (missing cast to unsigned char when converting char to int)
|
14 年之前 |