summaryrefslogtreecommitdiff
path: root/lvm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* new definition for 'luai_nummod' (using 'fmod')Roberto Ierusalimschy2014-04-091-2/+4
|
* using 'volatile' in 'tofloat' to ensure result has the same precisionRoberto Ierusalimschy2014-04-081-4/+7
| | | | (lua_Number) of other computations
* bug (in work version): comparisons should not try to convertRoberto Ierusalimschy2014-04-021-5/+20
| | | | strings to numbers
* detail ('1U' -> '1u', like other unsigned constants in the code)Roberto Ierusalimschy2014-03-311-3/+3
|
* macro 'tostring' is used only by 'luaV_concat'Roberto Ierusalimschy2014-03-311-1/+3
|
* detail (comment)Roberto Ierusalimschy2014-03-151-2/+2
|
* detailsRoberto Ierusalimschy2014-03-141-7/+8
|
* new macro 'cast_void'Roberto Ierusalimschy2014-03-071-3/+3
|
* back with 'L' for macros 'luai_num*', but now with a new macroRoberto Ierusalimschy2014-03-061-11/+11
| | | | 'luai_numinvalidop' to protect constant folding
* insertion of ".0" in floats with integer values done by "luaL_tolstring",Roberto Ierusalimschy2014-02-051-12/+4
| | | | not by the core
* no more 'L' in macros "luai_num*" (several places that use those macrosRoberto Ierusalimschy2014-01-271-14/+14
| | | | cannot throw errors anyway...)
* larger limit + better error messages for loop detection in inheritanceRoberto Ierusalimschy2014-01-221-4/+4
|
* first implementation of '<<', '>>', and '~' (bitwise not)Roberto Ierusalimschy2013-12-301-3/+48
|
* first implementation of bitwise operators '&' (band), '|' (bor),Roberto Ierusalimschy2013-12-181-1/+29
| | | | and '~' (bxor)
* integer exponentiation with negative exponent is invalidRoberto Ierusalimschy2013-12-161-19/+20
|
* details (a few casts moved from macro invocation to macro definition)Roberto Ierusalimschy2013-08-291-3/+3
|
* upvalues collected by reference countRoberto Ierusalimschy2013-08-271-3/+4
|
* "barrier" for link prototype->cache changed to be consistent withRoberto Ierusalimschy2013-08-191-6/+6
| | | | GC behavior (link is cleared to preserve invariant)
* added 'local' bit (true => object is only refered by local variables)Roberto Ierusalimschy2013-08-161-1/+2
|
* use unsigneds for unary minus, tooRoberto Ierusalimschy2013-07-101-3/+3
|
* new macro 'l_floor' (allows 'floorf' even when other math operationsRoberto Ierusalimschy2013-06-201-2/+2
| | | | do not have an 'f' variant)
* new constant 'MAX_SIZE', distinct from 'MAX_SIZET', for sizes visibleRoberto Ierusalimschy2013-06-191-2/+2
| | | | from Lua; these must fit in a lua_Integer
* avoid adding '.0' to "numbers" like "nan" and "inf"Roberto Ierusalimschy2013-06-071-3/+3
|
* string contatenation handles conversion of integers to strings +Roberto Ierusalimschy2013-06-041-6/+17
| | | | floats always format as floats (with decimal dot or exponent)
* "legal" way to convert a float to an integer in CRoberto Ierusalimschy2013-05-271-6/+14
|
* 'objlen' can return integersRoberto Ierusalimschy2013-05-261-3/+3
|
* macro 'nvalue' removed + cast to void added to avoid warningsRoberto Ierusalimschy2013-05-061-5/+8
| | | | with 'clang'
* new macro 'intop' (to perform integer arithmetic on unsigned types)Roberto Ierusalimschy2013-05-021-9/+8
|
* new function 'tointeger' + 'luaV_arith' replaced by 'luaT_trybinTM'Roberto Ierusalimschy2013-04-291-37/+41
|
* favoring 'tonumber' over 'nvalue'Roberto Ierusalimschy2013-04-261-31/+26
|
* detailRoberto Ierusalimschy2013-04-261-3/+3
|
* new interface for 'tonumber'Roberto Ierusalimschy2013-04-261-23/+19
|
* new operation '//' (integer division)Roberto Ierusalimschy2013-04-261-2/+15
|
* 'for' loop uses integers when possibleRoberto Ierusalimschy2013-04-251-16/+33
|
* integer handling for order comparisons, power, and modulo operationsRoberto Ierusalimschy2013-04-251-5/+79
|
* functions 'get_equalTM' and 'call_orderTM' moved to other filesRoberto Ierusalimschy2013-04-251-29/+6
| | | | to make 'lvm.c' smaller
* functions 'traceexec', 'callTM', and 'call_binTM' moved to otherRoberto Ierusalimschy2013-04-251-71/+10
| | | | files to make 'lvm.c' a little smaller
* a few more operations supporting integers (minus, umin, mult)Roberto Ierusalimschy2013-04-161-13/+47
|
* first steps in the support of integers: basic representation + table ↵Roberto Ierusalimschy2013-04-151-8/+24
| | | | indexing + basic API ops (tointeger/pushinteger) + equality + a few extra stuff
* 'ttypenv' -> 'ttnov'Roberto Ierusalimschy2013-04-121-2/+2
|
* typos in commentsRoberto Ierusalimschy2013-03-161-2/+2
|
* remove of unecessary luaD_checkstack. (In some cases, C shouldRoberto Ierusalimschy2012-08-161-2/+1
| | | | | ensure stack space; in others, Lua can use the extra slots for temporary values.)
* details (remove of some extra spaces)Roberto Ierusalimschy2012-08-141-2/+2
|
* bugs in yields inside debug hooksRoberto Ierusalimschy2012-06-081-5/+14
|
* macro 'checkGC' takes care of setting 'top' to limit stack live valuesRoberto Ierusalimschy2012-05-141-16/+9
|
* no more 'Proto' objects on the stack. Protos are anchored on outerRoberto Ierusalimschy2012-05-081-2/+3
| | | | Protos or on a Closure, which must be created before the Proto.
* first implementation of long stringsRoberto Ierusalimschy2012-01-251-1/+2
|
* 'eqstr' -> 'luaS_eqstr'Roberto Ierusalimschy2012-01-231-3/+3
|
* cast from 'bool' to 'int' (for C++)Roberto Ierusalimschy2011-12-071-2/+2
|
* commentRoberto Ierusalimschy2011-11-291-2/+2
|