Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug in order NaN x int (tests must ensure that NaN does not getv5.3.1 | Roberto Ierusalimschy | 2015-06-09 | 1 | -11/+12 |
| | | | | converted to integer) | ||||
* | When comparing integers with floats, use float as common type when | Roberto Ierusalimschy | 2015-06-02 | 1 | -52/+69 |
| | | | | | | possible (i.e., when integer fits in a float without losses); seems to be more efficient in architectures with native support for used Lua numbers | ||||
* | bug: interpreter cannot pop activation frame before calling return | Roberto Ierusalimschy | 2015-05-22 | 1 | -3/+2 |
| | | | | | hook (as it may want to access local variables active by the end of the function) | ||||
* | 'l <= r' for numbers has its own function, instead of using | Roberto Ierusalimschy | 2015-05-20 | 1 | -14/+30 |
| | | | | 'not (r < l)' (seems to be slightly more efficient) | ||||
* | new semantics for numerical order (following math regardless | Roberto Ierusalimschy | 2015-05-20 | 1 | -28/+90 |
| | | | | representation) | ||||
* | new semantics for equality int-float | Roberto Ierusalimschy | 2015-04-29 | 1 | -5/+3 |
| | |||||
* | Bug: suspended '__le' metamethod can give wrong result | Roberto Ierusalimschy | 2015-04-10 | 1 | -11/+21 |
| | |||||
* | detail ('b + base' -> 'base + b' to follow all other similar uses) | Roberto Ierusalimschy | 2015-03-30 | 1 | -2/+2 |
| | |||||
* | always use macros to operate on lua_Numbers | Roberto Ierusalimschy | 2015-03-07 | 1 | -2/+2 |
| | |||||
* | new macros 'chgfltvalue'/'chgivalue' (numerical for loop does | Roberto Ierusalimschy | 2015-03-02 | 1 | -3/+3 |
| | | | | not need to set the type of its internal variable at each iteration) | ||||
* | 'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old | Roberto Ierusalimschy | 2015-02-20 | 1 | -21/+3 |
| | | | | 'tointeger_aux'), which can do the same job. | ||||
* | macros 'luai_num*' (for float arithmetic operations) moved to | Roberto Ierusalimschy | 2015-02-05 | 1 | -1/+2 |
| | | | | llimits.h. | ||||
* | size of short strings stored in a single byte, to reduce the size | Roberto Ierusalimschy | 2015-01-16 | 1 | -13/+19 |
| | | | | of struct 'TString' | ||||
* | change in macro 'vmcase', avoding code inside it. (Code inside the | Roberto Ierusalimschy | 2014-12-27 | 1 | -97/+142 |
| | | | | macro harms tools such as debuggers.) | ||||
* | new macro 'nvalue' (to convert an object to a float when we know | Roberto Ierusalimschy | 2014-12-19 | 1 | -3/+2 |
| | | | | object is a number) | ||||
* | 'x//y' extended to floats + more comments about module and floor | Roberto Ierusalimschy | 2014-11-21 | 1 | -22/+27 |
| | | | | division operations | ||||
* | simpler definition for 'luaV_tonumber_' | Roberto Ierusalimschy | 2014-11-19 | 1 | -11/+8 |
| | |||||
* | macro to change method of conversion from float to integer (make it | Roberto Ierusalimschy | 2014-11-03 | 1 | -6/+15 |
| | | | | use floor intead of requiring an exact integral value) | ||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -9/+9 |
| | |||||
* | 'lua_numtointeger' -> 'lua_numbertointeger' | Roberto Ierusalimschy | 2014-10-24 | 1 | -2/+2 |
| | |||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -4/+4 |
| | |||||
* | size for array part of a table ('sizearray') changed from 'int' to | Roberto Ierusalimschy | 2014-09-04 | 1 | -2/+2 |
| | | | | 'unsigned int', which allows twice as many elements in the array part | ||||
* | new macro 'cvt2num' to better control whether strings are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -3/+3 |
| | | | | to numbers | ||||
* | new macro 'cvt2str' to better control whether numbers are convertible | Roberto Ierusalimschy | 2014-07-30 | 1 | -33/+4 |
| | | | | to strings | ||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-21 | 1 | -2/+2 |
| | | | | (no need to convert to 'GCObject') | ||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -7/+7 |
| | | | | (union used only for size purposes) | ||||
* | new conversion float->integer: conversion is valid only when | Roberto Ierusalimschy | 2014-07-17 | 1 | -7/+15 |
| | | | | float has an exact representation as an integer | ||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 1 | -2/+2 |
| | |||||
* | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 1 | -10/+10 |
| | |||||
* | more relaxed rules for __eq metamethod (more similar to other | Roberto Ierusalimschy | 2014-06-10 | 1 | -4/+9 |
| | | | | operators) | ||||
* | function 'luaV_numtointeger' changed to a global macro | Roberto Ierusalimschy | 2014-05-26 | 1 | -18/+2 |
| | | | | 'lua_numtointeger' (tricky, small, and useful in several places) | ||||
* | detail (comment) | Roberto Ierusalimschy | 2014-05-23 | 1 | -3/+3 |
| | |||||
* | comments | Roberto Ierusalimschy | 2014-05-20 | 1 | -4/+6 |
| | |||||
* | added a few comments | Roberto Ierusalimschy | 2014-05-15 | 1 | -1/+14 |
| | |||||
* | added a compat option (although it will be off by default) to | Roberto Ierusalimschy | 2014-05-14 | 1 | -1/+3 |
| | | | | the addition of '.0' to float->string conversions | ||||
* | addition of '.0' to float representation done by the kernel | Roberto Ierusalimschy | 2014-05-12 | 1 | -4/+11 |
| | |||||
* | no more integer exponentiation | Roberto Ierusalimschy | 2014-05-12 | 1 | -23/+2 |
| | |||||
* | added comments to several functions | Roberto Ierusalimschy | 2014-05-12 | 1 | -55/+93 |
| | |||||
* | in 'for' loops, make the limit an integer whenever initial value and | Roberto Ierusalimschy | 2014-05-09 | 1 | -3/+40 |
| | | | | step are integers | ||||
* | 'lua_strtonum' (and 'luaO_str2num') now return string size, instead of | Roberto Ierusalimschy | 2014-05-01 | 1 | -4/+4 |
| | | | | receiving it | ||||
* | function 'limittointeger' no needed (now that 'tointeger_aux' handles | Roberto Ierusalimschy | 2014-04-30 | 1 | -16/+2 |
| | | | | integers too) | ||||
* | 'luaO_str2d' + 'luaO_str2int' replaced by 'luaO_str2num' plus proper | Roberto Ierusalimschy | 2014-04-30 | 1 | -22/+46 |
| | | | | conversion from strings to integers | ||||
* | merge of common parts from 'limittointeger' and 'luaV_tointeger_' | Roberto Ierusalimschy | 2014-04-29 | 1 | -10/+15 |
| | |||||
* | 'setnvalue' -> 'setfltvalue' (for consitency with 'fltvalue') | Roberto Ierusalimschy | 2014-04-29 | 1 | -13/+13 |
| | |||||
* | 'for' loop tries to convert limit to integer when initial value and | Roberto Ierusalimschy | 2014-04-29 | 1 | -2/+23 |
| | | | | step are integers | ||||
* | n^-m gives float result (instead of error) | Roberto Ierusalimschy | 2014-04-27 | 1 | -9/+8 |
| | |||||
* | cast_u2s/cast_s2u renamed l_castS2U/l_castU2S to be configurable from | Roberto Ierusalimschy | 2014-04-15 | 1 | -4/+4 |
| | | | | outside (mostly for testing) | ||||
* | macros cast_integer/cast_unsigned replaced by cast_u2s/cast_s2u, that | Roberto Ierusalimschy | 2014-04-15 | 1 | -7/+7 |
| | | | | should be used only between lua_Integer and lua_Unsigned | ||||
* | 'MIN/MAX_INTEGER' replaced by 'LUA_MIN/MAXINTEGER' | Roberto Ierusalimschy | 2014-04-11 | 1 | -4/+4 |
| |