Commit History

Author SHA1 Message Date
  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