Roberto Ierusalimschy
|
d99ffa920d
new type 'LUAI_UACINT' (result of an 'usual argument conversion' of
|
11 lat temu |
Roberto Ierusalimschy
|
2771050dfa
'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER'
|
11 lat temu |
Roberto Ierusalimschy
|
e1daf10e4c
details in comments
|
11 lat temu |
Roberto Ierusalimschy
|
115fa77009
maximum size for dump of integers is size of lua_Integer (which
|
11 lat temu |
Roberto Ierusalimschy
|
561030c211
pack/unpack functions renamed dump/undump
|
11 lat temu |
Roberto Ierusalimschy
|
5336cc9d6a
math.random: use 'random' when available + changes to work correctly
|
11 lat temu |
Roberto Ierusalimschy
|
fdd137276b
more precision for PI + no more RADIANS_PER_DEGREE +
|
11 lat temu |
Roberto Ierusalimschy
|
a8aede68c7
new definition for 'luai_nummod' (using 'fmod')
|
11 lat temu |
Roberto Ierusalimschy
|
c7859a046d
using 'volatile' in 'tofloat' to ensure result has the same precision
|
11 lat temu |
Roberto Ierusalimschy
|
4a24883674
'GCmemtrav' does not need to track the entire collection, only each
|
11 lat temu |
Roberto Ierusalimschy
|
9737832641
'int' -> 'lua_Integer' in several functions
|
11 lat temu |
Roberto Ierusalimschy
|
8b45d9806a
new constants 'math.maxint'/'math.minint'
|
11 lat temu |
Roberto Ierusalimschy
|
be52f784d9
new macros LUA_MAXINTEGER/LUA_MININTEGER
|
11 lat temu |
Roberto Ierusalimschy
|
144afa4d47
several changes in 'utf8.offset'
|
11 lat temu |
Roberto Ierusalimschy
|
007f66408d
bug: compiler can optimize away overflow check in 'table.concat'
|
11 lat temu |
Roberto Ierusalimschy
|
48c745a611
avoid constant overflow when shifting left signed integers until
|
11 lat temu |
Roberto Ierusalimschy
|
3a044de5a1
new implementation for 'utf8.len'
|
11 lat temu |
Roberto Ierusalimschy
|
7d514af0bc
bug (in work version): comparisons should not try to convert
|
11 lat temu |
Roberto Ierusalimschy
|
f61ceee708
LUAI_FUNC is being used only in header files
|
11 lat temu |
Roberto Ierusalimschy
|
5aeb57f11f
detail (error message for conversion from float to integer)
|
11 lat temu |
Roberto Ierusalimschy
|
493b3fdd65
added an 'api_check' for negative sizes in 'lua_checkstack'
|
11 lat temu |
Roberto Ierusalimschy
|
315c5bf7b7
bug: compiler could optimize away overflow check (+ changing indices
|
11 lat temu |
Roberto Ierusalimschy
|
607be77ec8
some details to avoid warnings
|
11 lat temu |
Roberto Ierusalimschy
|
0d745ed04c
more precise estimation (GCestimate) for total bytes in use after
|
11 lat temu |
Roberto Ierusalimschy
|
3d1c6730da
detail ('1U' -> '1u', like other unsigned constants in the code)
|
11 lat temu |
Roberto Ierusalimschy
|
66b7b9b582
math.abs, math.max, and math.min work for integers, too.
|
11 lat temu |
Roberto Ierusalimschy
|
8ef9117924
fancier way to do sign extension
|
11 lat temu |
Roberto Ierusalimschy
|
ea69f17d98
macro 'tostring' is used only by 'luaV_concat'
|
11 lat temu |
Roberto Ierusalimschy
|
420cc62fac
missplelling in comments/function names (endianess -> endianness)
|
11 lat temu |
Roberto Ierusalimschy
|
1a3ebc203a
definition of LUA_REAL_* and LUA_INT_* moved to the beginning of
|
11 lat temu |