3869 Commits (d46ed54646b2953007a882f3d4c743741914e202)
 

Author SHA1 Message Date
Roberto Ierusalimschy d46ed54646 no more IEEE tricks 12 years ago
Roberto Ierusalimschy e2c8c756ee removed 'IEEE tricks' (should not be needed in Lua with integers) 12 years ago
Roberto Ierusalimschy 5ca5086c19 'tonumber' now works with integers too 12 years ago
Roberto Ierusalimschy 2d6a0ae149 added patch to last bug 12 years ago
Roberto Ierusalimschy b5ec26101f new API function 'lua_cvtonum' to convert a value (number or string) 12 years ago
Roberto Ierusalimschy 36e8771076 'luaO_str2int' more generic: accepts white spaces around the numeral 12 years ago
Roberto Ierusalimschy 27f09415e3 new read format "*i" for reading integers 12 years ago
Roberto Ierusalimschy 4ad9970649 uses integers for time 12 years ago
Roberto Ierusalimschy bef345a4b8 bug: Wrong error message in some short-cut expressions 12 years ago
Roberto Ierusalimschy 0ce3018109 'pushnum' pushes a "number" (float) + new C instruction 'pushint' 12 years ago
Roberto Ierusalimschy 0233ce0815 new function 'math.numbits' (not a final decision) 12 years ago
Roberto Ierusalimschy 1f2b82bf25 correct way to avoid compile-time errors in integer divisions 12 years ago
Roberto Ierusalimschy f2043b7a58 correct error message for conversion errors from float to int 12 years ago
Roberto Ierusalimschy 2b1c2c61b0 bug: Wrong assert when reporting concatenation errors. 12 years ago
Roberto Ierusalimschy fa6ea831b3 macro 'nvalue' removed (direct conversion from integer to double, 12 years ago
Roberto Ierusalimschy b22a4280c6 macro 'nvalue' removed + cast to void added to avoid warnings 12 years ago
Roberto Ierusalimschy 29fe3abda2 new function 'math.isfloat' 12 years ago
Roberto Ierusalimschy 6347004be9 stack overflow in vararg functions + garbage collector in recursive loops 12 years ago
Roberto Ierusalimschy 67532d5a10 constant folding and API arithmetic with integers 12 years ago
Roberto Ierusalimschy 6920a7f2e3 new macro 'intop' (to perform integer arithmetic on unsigned types) 12 years ago
Roberto Ierusalimschy 88bf2f83c0 new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM' 12 years ago
Roberto Ierusalimschy 8fff05f6d0 integer division operates only on integers 12 years ago
Roberto Ierusalimschy 9b9becf384 added 'const' to parameters of 'luaG_concaterror' 12 years ago
Roberto Ierusalimschy 00744a2729 'luaO_arith' -> 'luaO_numarith' 12 years ago
Roberto Ierusalimschy b4be507578 new function 'luaT_trybinTM' 12 years ago
Roberto Ierusalimschy 360587f319 favoring 'tonumber' over 'nvalue' 12 years ago
Roberto Ierusalimschy eee51492e2 dumping and undumping integers 12 years ago
Roberto Ierusalimschy c37b7b3cca bug: garbage collector can trigger too many times in recursive loops, 12 years ago
Roberto Ierusalimschy f79584faca detail 12 years ago
Roberto Ierusalimschy 4abe99dc34 new interface for 'tonumber' 12 years ago
Roberto Ierusalimschy d4e6b75098 "integer" keys in tables are now lua_Integer, not 'int'. 12 years ago
Roberto Ierusalimschy a2f5c28a80 new operation '//' (integer division) 12 years ago
Roberto Ierusalimschy a80a2b5e56 new cast macros for lua_Integer and lua_Unsigned 12 years ago
Roberto Ierusalimschy bb1851ce98 'for' loop uses integers when possible 12 years ago
Roberto Ierusalimschy 5951c79ae1 default increment for 'for' loop is an integer (1, not 1.0) 12 years ago
Roberto Ierusalimschy e381c582de integer handling for order comparisons, power, and modulo operations 12 years ago
Roberto Ierusalimschy 9600c60df3 functions 'get_equalTM' and 'call_orderTM' moved to other files 12 years ago
Roberto Ierusalimschy 32bf6c9b27 functions 'traceexec', 'callTM', and 'call_binTM' moved to other 12 years ago
Roberto Ierusalimschy 9c43d6a24e new format "%I" in 'lua_pushfstring' for lua_Integer 12 years ago
Roberto Ierusalimschy 01b6fe0cbf new API function 'lua_isinteger' 12 years ago
Roberto Ierusalimschy 944709c77b more definitions to support integer formatting 12 years ago
Roberto Ierusalimschy 52cb90ec75 detail 12 years ago
Roberto Ierusalimschy fa3b126a23 BUG: stack overflow in vararg functions with many fixed 12 years ago
Roberto Ierusalimschy 1294b09d8e first implementation of literal integers (no constant folding yet) 12 years ago
Roberto Ierusalimschy d4f0c4435d a few more operations supporting integers (minus, umin, mult) 12 years ago
Roberto Ierusalimschy 44358e0206 extra trim applied to 'replace' argument (in case lua_Unsigned is 12 years ago
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 years ago
Roberto Ierusalimschy 7a543cfae6 12 years ago
Roberto Ierusalimschy 24689927f2 dependencies updated (with 'gcc -MM') 12 years ago
Roberto Ierusalimschy 8f8665fffa 'ttypenv' -> 'ttnov' 12 years ago