aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* '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
|
* integer division operates only on integersRoberto Ierusalimschy2013-04-291-2/+1
|
* added 'const' to parameters of 'luaG_concaterror'Roberto Ierusalimschy2013-04-292-4/+5
|
* 'luaO_arith' -> 'luaO_numarith'Roberto Ierusalimschy2013-04-293-6/+6
|
* new function 'luaT_trybinTM'Roberto Ierusalimschy2013-04-292-2/+16
|
* favoring 'tonumber' over 'nvalue'Roberto Ierusalimschy2013-04-262-34/+30
|
* dumping and undumping integersRoberto Ierusalimschy2013-04-262-9/+27
|
* bug: garbage collector can trigger too many times in recursive loops,Roberto Ierusalimschy2013-04-261-3/+10
| | | | because it was not computing the size of CallInfo structures in threads
* detailRoberto Ierusalimschy2013-04-261-3/+3
|
* new interface for 'tonumber'Roberto Ierusalimschy2013-04-264-39/+34
|
* "integer" keys in tables are now lua_Integer, not 'int'.Roberto Ierusalimschy2013-04-264-24/+29
|
* new operation '//' (integer division)Roberto Ierusalimschy2013-04-2614-27/+56
|
* new cast macros for lua_Integer and lua_UnsignedRoberto Ierusalimschy2013-04-251-1/+3
|
* 'for' loop uses integers when possibleRoberto Ierusalimschy2013-04-251-16/+33
|
* default increment for 'for' loop is an integer (1, not 1.0)Roberto Ierusalimschy2013-04-253-7/+7
|