aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* small bugs uncovered in a 64-bit machine (where 'long' has 64 bits)Roberto Ierusalimschy2013-06-211-3/+3
|
* try to avoid warnings when converting int to pointerRoberto Ierusalimschy2013-06-201-2/+3
|
* reorganization of warnings + update of explicit dependencies (gcc -MM)Roberto Ierusalimschy2013-06-201-7/+10
|
* In the table that hashes constants, use a light userdata as keysRoberto Ierusalimschy2013-06-201-9/+9
| | | | | to integer values to avoid collisions with floats with the same numerical value
* avoid warning for unary minus over an unsigned valueRoberto Ierusalimschy2013-06-201-2/+2
|
* added "reasonable" limit for 'string.rep' (otherwise it is too easyRoberto Ierusalimschy2013-06-201-3/+8
| | | | to crash the machine)
* new macro 'l_floor' (allows 'floorf' even when other math operationsRoberto Ierusalimschy2013-06-204-9/+10
| | | | do not have an 'f' variant)
* use lua_Integer for integer parameters to avoid truncationRoberto Ierusalimschy2013-06-191-15/+15
|
* new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visibleRoberto Ierusalimschy2013-06-194-8/+14
| | | | from Lua; these must fit in a lua_Integer
* detail (removed 'assert')Roberto Ierusalimschy2013-06-141-4/+2
|
* correct error message for floating-point values out of (integer) rangeRoberto Ierusalimschy2013-06-141-4/+15
|
* correct way (I hope) to convert floats to unsigned intRoberto Ierusalimschy2013-06-141-4/+8
|
* avoid using a negative value to test 'lua_tounsigned'Roberto Ierusalimschy2013-06-141-4/+5
|
* configuration of number sizes goes "mainstream"Roberto Ierusalimschy2013-06-131-69/+71
|
* 'math.random' operates with integers when used for integer resultsRoberto Ierusalimschy2013-06-131-9/+11
| | | | (1 or 2 parameters)
* avoid adding '.0' to "numbers" like "nan" and "inf"Roberto Ierusalimschy2013-06-071-3/+3
|
* new version (5.3)Roberto Ierusalimschy2013-06-071-4/+4
|
* 'io.write' writes integers directly (and correctly)Roberto Ierusalimschy2013-06-071-3/+5
|
* details ('Type* id' -> 'Type *id')Roberto Ierusalimschy2013-06-073-8/+8
|
* string contatenation handles conversion of integers to strings +Roberto Ierusalimschy2013-06-043-22/+25
| | | | floats always format as floats (with decimal dot or exponent)
* 'lua_tounsigned' takes number modulo 2^numbits as a result whenRoberto Ierusalimschy2013-06-041-2/+28
| | | | | number is a float (That may change...)
* 'luai_hashnum' "inlined" into 'hashfloat'Roberto Ierusalimschy2013-05-291-5/+8
|
* removed all tricks for conversions + 'luai_hashnum' moved to ltable.cRoberto Ierusalimschy2013-05-291-43/+1
|
* new implementation for 'lua_strx2number' to correct smallRoberto Ierusalimschy2013-05-271-24/+36
| | | | problems with numbers like 0x10000...000p-100
* "legal" way to convert a float to an integer in CRoberto Ierusalimschy2013-05-273-10/+30
|
* 'objlen' can return integersRoberto Ierusalimschy2013-05-261-3/+3
|
* detail (case '%d' of 'luaO_pushvfstring' should use integers)Roberto Ierusalimschy2013-05-261-2/+2
|
* support for the case when 'l_mathop' does not conform to lua_NumberRoberto Ierusalimschy2013-05-261-2/+7
| | | | | (problem with pointers to lua_Number solved by a typedef selected automatically by 'l_mathop')
* first version of control for number sizes (still in 'local' section)Roberto Ierusalimschy2013-05-261-4/+36
|
* no more IEEE tricksRoberto Ierusalimschy2013-05-261-69/+1
|
* removed 'IEEE tricks' (should not be needed in Lua with integers)Roberto Ierusalimschy2013-05-231-56/+1
|
* 'tonumber' now works with integers tooRoberto Ierusalimschy2013-05-161-10/+8
|
* added patch to last bugRoberto Ierusalimschy2013-05-161-2/+71
|
* new API function 'lua_cvtonum' to convert a value (number or string)Roberto Ierusalimschy2013-05-142-2/+26
| | | | | to a number, following the rules of the language to create integers or floats
* 'luaO_str2int' more generic: accepts white spaces around the numeralRoberto Ierusalimschy2013-05-143-15/+27
| | | | and handles signal
* new read format "*i" for reading integersRoberto Ierusalimschy2013-05-141-1/+17
|
* uses integers for timeRoberto Ierusalimschy2013-05-141-5/+5
|
* bug: Wrong error message in some short-cut expressionsRoberto Ierusalimschy2013-05-131-2/+18
|
* 'pushnum' pushes a "number" (float) + new C instruction 'pushint'Roberto Ierusalimschy2013-05-071-1/+4
|
* new function 'math.numbits' (not a final decision)Roberto Ierusalimschy2013-05-061-1/+15
|
* correct way to avoid compile-time errors in integer divisionsRoberto Ierusalimschy2013-05-061-4/+7
|
* correct error message for conversion errors from float to intRoberto Ierusalimschy2013-05-063-12/+26
|
* bug: Wrong assert when reporting concatenation errors.Roberto Ierusalimschy2013-05-061-2/+25
|
* macro 'nvalue' removed (direct conversion from integer to double,Roberto Ierusalimschy2013-05-061-4/+1
| | | | without an intermediate variable, can cause "excessive precision"
* macro 'nvalue' removed + cast to void added to avoid warningsRoberto Ierusalimschy2013-05-061-5/+8
| | | | with 'clang'
* new function 'math.isfloat'Roberto Ierusalimschy2013-05-021-1/+8
|
* stack overflow in vararg functions + garbage collector in recursive loopsRoberto Ierusalimschy2013-05-021-7/+70
|
* constant folding and API arithmetic with integersRoberto Ierusalimschy2013-05-024-31/+83
|
* new macro 'intop' (to perform integer arithmetic on unsigned types)Roberto Ierusalimschy2013-05-022-10/+11
|
* new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM'Roberto Ierusalimschy2013-04-294-100/+70
|