Commit History

Autor SHA1 Mensaxe Data
  Roberto Ierusalimschy 80cdf39d0e avoid using 'modf' in the implementation of 'math.modf', to avoid %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 45f3797a5b 'long' may have more than 32 bits in some machines; use 'int' for %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy de6e5a5919 small bugs uncovered in a 64-bit machine (where 'long' has 64 bits) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 81102d3689 try to avoid warnings when converting int to pointer %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 6579bd4190 reorganization of warnings + update of explicit dependencies (gcc -MM) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy f45177f2d3 In the table that hashes constants, use a light userdata as keys %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy d6f5fb2d2c avoid warning for unary minus over an unsigned value %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 7c4cc505db added "reasonable" limit for 'string.rep' (otherwise it is too easy %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 453450d687 new macro 'l_floor' (allows 'floorf' even when other math operations %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 55f566bd22 use lua_Integer for integer parameters to avoid truncation %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 130c0e40e0 new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visible %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy c72fb1cf8e detail (removed 'assert') %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 138e69cc55 correct error message for floating-point values out of (integer) range %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 53210d7e5b correct way (I hope) to convert floats to unsigned int %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 0394314c7a avoid using a negative value to test 'lua_tounsigned' %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 0beeb4f6fa configuration of number sizes goes "mainstream" %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 788b251157 'math.random' operates with integers when used for integer results %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 318575627f avoid adding '.0' to "numbers" like "nan" and "inf" %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy a14992992a new version (5.3) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 48adb6984c 'io.write' writes integers directly (and correctly) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy c5069528e1 details ('Type* id' -> 'Type *id') %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 6fb0b11350 string contatenation handles conversion of integers to strings + %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 932e7fb0e1 'lua_tounsigned' takes number modulo 2^numbits as a result when %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 188192ce9a 'luai_hashnum' "inlined" into 'hashfloat' %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy fc083f1138 removed all tricks for conversions + 'luai_hashnum' moved to ltable.c %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy ee865b9fe7 new implementation for 'lua_strx2number' to correct small %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy d630daca1a "legal" way to convert a float to an integer in C %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 8c883cb4e8 'objlen' can return integers %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy c75cca0559 detail (case '%d' of 'luaO_pushvfstring' should use integers) %!s(int64=12) %!d(string=hai) anos
  Roberto Ierusalimschy 1414b7123c support for the case when 'l_mathop' does not conform to lua_Number %!s(int64=12) %!d(string=hai) anos