Roberto Ierusalimschy
a77d263e86
unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)
deprecated
11 years ago
Roberto Ierusalimschy
54ac5960a8
LUA_MAXUNSIGNED was only used to define 2.0^intnumbits (and that
definition was not strictly portable), so it was removed and
replaced by a more correct and direct definition for 2.0^intnumbits
(only where it was needed)
11 years ago
Roberto Ierusalimschy
5784331768
new items in default path for Windows
11 years ago
Roberto Ierusalimschy
11aefa4478
details (comments)
11 years ago
Roberto Ierusalimschy
84db17b6fc
more "religious" definition for 'lua_numtointeger'
11 years ago
Roberto Ierusalimschy
c98f195eb9
function 'luaV_numtointeger' changed to a global macro
'lua_numtointeger' (tricky, small, and useful in several places)
11 years ago
Roberto Ierusalimschy
e966e53791
no more use of 'scanf' for reading numbers
11 years ago
Roberto Ierusalimschy
15e8405731
'LUA_COMPAT_ALL' -> 'LUA_COMPAT_5_1'/'LUA_COMPAT_5_2' + "@*" in
comments replaced by "@@". ("@*" is too distracting)
11 years ago
Roberto Ierusalimschy
ec11d132db
comments
11 years ago
Roberto Ierusalimschy
0172c9552c
comment
11 years ago
Roberto Ierusalimschy
c27ef1b79c
correct integer limits for Windows + small adjustments for short
option
11 years ago
Roberto Ierusalimschy
f767f29d87
using predefined limits (instead of computing min/max values for each
type) + some comments
11 years ago
Roberto Ierusalimschy
ab964ad7c6
new macro LUA_MAXUNSIGNED + support for 'short' integers (for tests only)
11 years ago
Roberto Ierusalimschy
d99ffa920d
new type 'LUAI_UACINT' (result of an 'usual argument conversion' of
a lua_Integer)
11 years ago
Roberto Ierusalimschy
a8aede68c7
new definition for 'luai_nummod' (using 'fmod')
11 years ago
Roberto Ierusalimschy
be52f784d9
new macros LUA_MAXINTEGER/LUA_MININTEGER
11 years ago
Roberto Ierusalimschy
1a3ebc203a
definition of LUA_REAL_* and LUA_INT_* moved to the beginning of
configurations
11 years ago
Roberto Ierusalimschy
282d67d8fc
bitlib has been deprecated
11 years ago
Roberto Ierusalimschy
5ff1c18a71
back with 'L' for macros 'luai_num*', but now with a new macro
'luai_numinvalidop' to protect constant folding
11 years ago
Roberto Ierusalimschy
c6c41e85b2
more uniformity for defining system-dependent features
11 years ago
Roberto Ierusalimschy
86dd8bf3f5
no more 'L' in macros "luai_num*" (several places that use those macros
cannot throw errors anyway...)
11 years ago
Roberto Ierusalimschy
73c5515e00
details (comments)
11 years ago
Roberto Ierusalimschy
124598917f
"./?/init.lua" added to default path
11 years ago
Roberto Ierusalimschy
b5f5fcd782
use different constants (instead of different values for the same constant)
to define number sizes (LUA_INT_INT/LUA_INT_LONG/LUA_INT_LONGLONG and
LUA_REAL_FLOAT/LUA_REAL_DOUBLE/LUA_REAL_LONGDOUBLE) + use __int64 and
I64 instead of long long (and ll) for Windows
11 years ago
Roberto Ierusalimschy
2b4975dca7
LUA_SMALL_* changed to LUA_*SIZE + added support for long double + better
support for ANSI systems
12 years ago
Roberto Ierusalimschy
45f3797a5b
'long' may have more than 32 bits in some machines; use 'int' for
small lua_Integer unless necessary to use 'long'
12 years ago
Roberto Ierusalimschy
453450d687
new macro 'l_floor' (allows 'floorf' even when other math operations
do not have an 'f' variant)
12 years ago
Roberto Ierusalimschy
0beeb4f6fa
configuration of number sizes goes "mainstream"
12 years ago
Roberto Ierusalimschy
3563b3f519
first version of control for number sizes (still in 'local' section)
12 years ago
Roberto Ierusalimschy
d46ed54646
no more IEEE tricks
12 years ago
Roberto Ierusalimschy
8fff05f6d0
integer division operates only on integers
12 years ago
Roberto Ierusalimschy
a2f5c28a80
new operation '//' (integer division)
12 years ago
Roberto Ierusalimschy
944709c77b
more definitions to support integer formatting
12 years ago
Roberto Ierusalimschy
75250a237c
typos in comments
12 years ago
Roberto Ierusalimschy
181a837cac
small improvement in the support of 'float' as lua_Number
12 years ago
Roberto Ierusalimschy
31f7d553e4
LUA_CORE condition removed from definition of some 'tricks' (as it
controlled only a few other defines) + MS_ASMTRICK renamed to
LUA_MSASMTRICK
12 years ago
Roberto Ierusalimschy
4ac55997ec
typo
12 years ago
Roberto Ierusalimschy
c2361e0b61
definition for 'LUAI_MAXSHORTLEN' moved to luaconf.h (too important)
13 years ago
Roberto Ierusalimschy
77cbd817d1
better(?) handling of '#define's for IEEE-related tricks + avoid using
IEEE trick for 64-bit integer types (lua_Integer on 64-bit machines)
13 years ago
Roberto Ierusalimschy
138be5b843
no more explicit support for 'luaall_c': unifying file can do
the work
13 years ago
Roberto Ierusalimschy
0f388193b3
'lUA' -> 'LUA'
13 years ago
Roberto Ierusalimschy
7948b8568e
when available, use '*_r' versions of 'gmtime' and 'localtime'
13 years ago
Roberto Ierusalimschy
3a997eefb5
MS_ASMTRICK is only valid on MS compilers (not any Windows compiler)
13 years ago
Roberto Ierusalimschy
a716ae1f50
avoids including 'stdio.h' everywhere (because of definitions for
luai_writestring/luai_writeline)
13 years ago
Roberto Ierusalimschy
00c8a17a2d
by default, do not use Windows' goodies in Windows CE build
13 years ago
Roberto Ierusalimschy
9bbfe9f3fd
avoid the word 'TRICKLE' in macro name (as it has nothing to do
with its meaning)
13 years ago
Roberto Ierusalimschy
a8675966ec
detail: centralize all tests for Windows on variable 'LUA_WIN'
13 years ago
Roberto Ierusalimschy
bae57ea088
'M_IX86' -> '_M_IX86'
13 years ago
Roberto Ierusalimschy
7978a8d8b2
added '_M_IX86' in NaN trick
14 years ago
Roberto Ierusalimschy
49a01c0991
'package.loaders' -> 'package.searchers'
14 years ago