Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | new macro 'cvt2str' to better control whether numbers are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -7/+32 |
| | | | | to strings | ||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 1 | -3/+3 |
| | |||||
* | addition of '.0' to float representation done by the kernel | Roberto Ierusalimschy | 2014-05-12 | 1 | -1/+4 |
| | |||||
* | no more integer exponentiation | Roberto Ierusalimschy | 2014-05-12 | 1 | -5/+3 |
| | |||||
* | 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of | Roberto Ierusalimschy | 2014-05-01 | 1 | -12/+12 |
| | | | | receiving it | ||||
* | 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' (which converts | Roberto Ierusalimschy | 2014-04-30 | 1 | -3/+17 |
| | | | | to float or integer according to the string syntax) | ||||
* | 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') | Roberto Ierusalimschy | 2014-04-29 | 1 | -4/+4 |
| | |||||
* | n^-m gives float result (instead of error) | Roberto Ierusalimschy | 2014-04-27 | 1 | -3/+4 |
| | |||||
* | cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from | Roberto Ierusalimschy | 2014-04-15 | 1 | -3/+3 |
| | | | | outside (mostly for testing) | ||||
* | macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that | Roberto Ierusalimschy | 2014-04-15 | 1 | -4/+4 |
| | | | | should be used only between lua_Integer and lua_Unsigned | ||||
* | new type 'LUAI_UACINT' (result of an 'usual argument conversion' of | Roberto Ierusalimschy | 2014-04-11 | 1 | -2/+2 |
| | | | | a lua_Integer) | ||||
* | new definition for 'luai_nummod' (using 'fmod') | Roberto Ierusalimschy | 2014-04-09 | 1 | -2/+6 |
| | |||||
* | details (typos in comments) | Roberto Ierusalimschy | 2014-03-21 | 1 | -2/+2 |
| | |||||
* | back with 'L' for macros 'luai_num*', but now with a new macro | Roberto Ierusalimschy | 2014-03-06 | 1 | -11/+12 |
| | | | | 'luai_numinvalidop' to protect constant folding | ||||
* | more uniformity for defining system-dependent features | Roberto Ierusalimschy | 2014-02-26 | 1 | -6/+14 |
| | |||||
* | UTF-8 encoding exported as format '%U' in 'lua_pushfstring' | Roberto Ierusalimschy | 2014-02-06 | 1 | -2/+26 |
| | |||||
* | no more 'L' in macros "luai_num*" (several places that use those macros | Roberto Ierusalimschy | 2014-01-27 | 1 | -8/+8 |
| | | | | cannot throw errors anyway...) | ||||
* | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -2/+6 |
| | |||||
* | first implementation of bitwise operators '&' (band), '|' (bor), | Roberto Ierusalimschy | 2013-12-18 | 1 | -17/+32 |
| | | | | and '~' (bxor) | ||||
* | integer exponentiation with negative exponent is invalid | Roberto Ierusalimschy | 2013-12-16 | 1 | -5/+4 |
| | |||||
* | use unsigneds for unary minus, too | Roberto Ierusalimschy | 2013-07-10 | 1 | -4/+3 |
| | |||||
* | macro 'lua_strx2number' does not need to be global | Roberto Ierusalimschy | 2013-06-25 | 1 | -1/+13 |
| | |||||
* | string contatenation handles conversion of integers to strings + | Roberto Ierusalimschy | 2013-06-04 | 1 | -6/+3 |
| | | | | floats always format as floats (with decimal dot or exponent) | ||||
* | new implementation for 'lua_strx2number' to correct small | Roberto Ierusalimschy | 2013-05-27 | 1 | -24/+36 |
| | | | | problems with numbers like 0x10000...000p-100 | ||||
* | detail (case '%d' of 'luaO_pushvfstring' should use integers) | Roberto Ierusalimschy | 2013-05-26 | 1 | -2/+2 |
| | |||||
* | 'luaO_str2int' more generic: accepts white spaces around the numeral | Roberto Ierusalimschy | 2013-05-14 | 1 | -11/+22 |
| | | | | and handles signal | ||||
* | constant folding and API arithmetic with integers | Roberto Ierusalimschy | 2013-05-02 | 1 | -2/+45 |
| | |||||
* | 'luaO_arith' -> 'luaO_numarith' | Roberto Ierusalimschy | 2013-04-29 | 1 | -2/+2 |
| | |||||
* | new format "%I" in 'lua_pushfstring' for lua_Integer | Roberto Ierusalimschy | 2013-04-25 | 1 | -1/+8 |
| | |||||
* | first implementation of literal integers (no constant folding yet) | Roberto Ierusalimschy | 2013-04-16 | 1 | -1/+20 |
| | |||||
* | 'l_tg' was renamed to 'l_mathop' and this use was not corrected at | Roberto Ierusalimschy | 2013-02-20 | 1 | -2/+2 |
| | | | | the time | ||||
* | small improvement in the support of 'float' as lua_Number | Roberto Ierusalimschy | 2013-01-29 | 1 | -3/+3 |
| | |||||
* | remove of unecessary luaD_checkstack. (In some cases, C should | Roberto Ierusalimschy | 2012-08-16 | 1 | -9/+7 |
| | | | | | ensure stack space; in others, Lua can use the extra slots for temporary values.) | ||||
* | function prototype did not match one in .h | Roberto Ierusalimschy | 2011-11-30 | 1 | -2/+2 |
| | |||||
* | avoid "unreachable" 'break' | Roberto Ierusalimschy | 2011-11-30 | 1 | -2/+1 |
| | |||||
* | refuse things like 'inf' or 'Nan' as numerals | Roberto Ierusalimschy | 2011-07-27 | 1 | -4/+6 |
| | |||||
* | using 'tolower' instead of 'toupper' (slightly simpler to implement) | Roberto Ierusalimschy | 2011-06-24 | 1 | -2/+2 |
| | |||||
* | macro 'ltoupper' instead of 'lisupper' (more usefull for Lua) | Roberto Ierusalimschy | 2011-06-23 | 1 | -3/+2 |
| | |||||
* | detail (missing cast to unsigned char when converting char to int) | Roberto Ierusalimschy | 2011-06-16 | 1 | -2/+2 |
| | |||||
* | no need for two different implementations for equality (one raw and | Roberto Ierusalimschy | 2011-05-31 | 1 | -23/+1 |
| | | | | one with metamethods) | ||||
* | more complete (and hopefuly more correct) handling of 'sizeof(char)' | Roberto Ierusalimschy | 2011-05-03 | 1 | -7/+9 |
| | |||||
* | new macro 'ttisequal' | Roberto Ierusalimschy | 2011-04-05 | 1 | -2/+2 |
| | |||||
* | trying to avoid assumption that sizeof(char)==1 | Roberto Ierusalimschy | 2011-02-07 | 1 | -2/+2 |
| | |||||
* | official support for floating hexa numerals | Roberto Ierusalimschy | 2010-12-10 | 1 | -10/+77 |
| | |||||
* | detection of erroneous numeric strings with \0 (such as "1\0") | Roberto Ierusalimschy | 2010-12-06 | 1 | -6/+7 |
| | |||||
* | bug: by-one error when creating short source names (luaO_chunkid) | Roberto Ierusalimschy | 2010-10-29 | 1 | -2/+2 |
| | |||||
* | comment typo | Roberto Ierusalimschy | 2010-10-29 | 1 | -2/+2 |
| | |||||
* | more robust implementation for 'luaO_str2d' | Roberto Ierusalimschy | 2010-10-28 | 1 | -6/+11 |
| | |||||
* | "light C function" is a better name than "C-function pointer" | Roberto Ierusalimschy | 2010-04-18 | 1 | -2/+2 |
| | |||||
* | no need to avoid calling ctype functions as now they are implemented | Roberto Ierusalimschy | 2010-04-15 | 1 | -4/+2 |
| | | | | by us (no inefficiencies due to accessing locale information) |