Roberto Ierusalimschy
|
81245b1ad5
'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old
|
10 年之前 |
Roberto Ierusalimschy
|
f5c690b684
details in comments
|
11 年之前 |
Roberto Ierusalimschy
|
d861706620
new macro 'cvt2num' to better control whether strings are convertible
|
11 年之前 |
Roberto Ierusalimschy
|
34ac039fb8
new macro 'cvt2str' to better control whether numbers are convertible
|
11 年之前 |
Roberto Ierusalimschy
|
c98f195eb9
function 'luaV_numtointeger' changed to a global macro
|
11 年之前 |
Roberto Ierusalimschy
|
27d9219cf3
no more integer exponentiation
|
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
|
ea69f17d98
macro 'tostring' is used only by 'luaV_concat'
|
11 年之前 |
Roberto Ierusalimschy
|
1ea2d20f74
first implementation of '<<', '>>', and '~' (bitwise not)
|
11 年之前 |
Roberto Ierusalimschy
|
a8f8c7fd80
integer exponentiation with negative exponent is invalid
|
11 年之前 |
Roberto Ierusalimschy
|
6920a7f2e3
new macro 'intop' (to perform integer arithmetic on unsigned types)
|
12 年之前 |
Roberto Ierusalimschy
|
88bf2f83c0
new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM'
|
12 年之前 |
Roberto Ierusalimschy
|
4abe99dc34
new interface for 'tonumber'
|
12 年之前 |
Roberto Ierusalimschy
|
e381c582de
integer handling for order comparisons, power, and modulo operations
|
12 年之前 |
Roberto Ierusalimschy
|
07f861385e
first steps in the support of integers: basic representation + table indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
|
12 年之前 |
Roberto Ierusalimschy
|
0730a56d38
detail
|
12 年之前 |
Roberto Ierusalimschy
|
821bd7025e
more uniform names for 'equalobj'-related functions
|
14 年之前 |
Roberto Ierusalimschy
|
9b7dddad7d
no need for two different implementations for equality (one raw and
|
14 年之前 |
Roberto Ierusalimschy
|
5286650894
new macro 'ttisequal'
|
14 年之前 |
Roberto Ierusalimschy
|
c3a6f3fa1c
'lua_objlen' replaced by 'lua_rawlen', 'lua_len', and 'luaL_len'
|
15 年之前 |
Roberto Ierusalimschy
|
b4c1824824
'luaV_arith' must be marked 'LUAI_FUNC' (as all non-static functions)
|
15 年之前 |
Roberto Ierusalimschy
|
155dd01163
avoid using 'ttype' when there is an explicit test
|
15 年之前 |
Roberto Ierusalimschy
|
59a59fafc6
exports luaV_arith to be used by lua_arith
|
16 年之前 |
Roberto Ierusalimschy
|
77fd93188e
'lessequal' renamed 'luaV_lessequal' and exported to be used by
|
16 年之前 |
Roberto Ierusalimschy
|
57f8414de1
small bug in 'luaV_concat' (L->top was left incorrect in some cases)
|
16 年之前 |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
16 年之前 |
Roberto Ierusalimschy
|
f94cd2201c
better control of call status through CallInfo
|
17 年之前 |
Roberto Ierusalimschy
|
08f902cf49
better documentation for auxiliary functions (that should be called only
|
18 年之前 |