3929 Commits (8c688639605f3ec0b5a57d906cacc27981b066da)
 

Author SHA1 Message Date
Roberto Ierusalimschy 6fb0b11350 string contatenation handles conversion of integers to strings + 12 years ago
Roberto Ierusalimschy 932e7fb0e1 'lua_tounsigned' takes number modulo 2^numbits as a result when 12 years ago
Roberto Ierusalimschy 188192ce9a 'luai_hashnum' "inlined" into 'hashfloat' 12 years ago
Roberto Ierusalimschy fc083f1138 removed all tricks for conversions + 'luai_hashnum' moved to ltable.c 12 years ago
Roberto Ierusalimschy ee865b9fe7 new implementation for 'lua_strx2number' to correct small 12 years ago
Roberto Ierusalimschy d630daca1a "legal" way to convert a float to an integer in C 12 years ago
Roberto Ierusalimschy 8c883cb4e8 'objlen' can return integers 12 years ago
Roberto Ierusalimschy c75cca0559 detail (case '%d' of 'luaO_pushvfstring' should use integers) 12 years ago
Roberto Ierusalimschy 1414b7123c support for the case when 'l_mathop' does not conform to lua_Number 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 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