Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -1/+1 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.2. | ||||
* | detail (removing spaces at end of lines) | Roberto Ierusalimschy | 2016-12-22 | 1 | -4/+4 |
| | |||||
* | Using LUAI_UAC* types more consistently on vararg calls | Roberto Ierusalimschy | 2016-12-20 | 1 | -4/+7 |
| | |||||
* | detail (ensure subtraction is done unsigned) | Roberto Ierusalimschy | 2015-10-02 | 1 | -2/+2 |
| | |||||
* | tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand') | Roberto Ierusalimschy | 2015-06-26 | 1 | -2/+2 |
| | | | | to discard first value | ||||
* | use 'log2' when available | Roberto Ierusalimschy | 2015-03-12 | 1 | -1/+4 |
| | |||||
* | bug: 'random' limit is 2^31-1, not RAND_MAX | Roberto Ierusalimschy | 2014-12-27 | 1 | -3/+5 |
| | |||||
* | cleaner test for overflow for range of 'math.random' | Roberto Ierusalimschy | 2014-11-07 | 1 | -3/+3 |
| | |||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 |
| | | | | any other header file | ||||
* | 'lua_numtointeger' -> 'lua_numbertointeger' | Roberto Ierusalimschy | 2014-10-24 | 1 | -2/+2 |
| | |||||
* | added some casts for the cases when lua_Number != double | Roberto Ierusalimschy | 2014-10-08 | 1 | -6/+6 |
| | |||||
* | deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.) | Roberto Ierusalimschy | 2014-10-01 | 1 | -2/+2 |
| | |||||
* | new function 'math.ult' (unsigned less than) | Roberto Ierusalimschy | 2014-07-28 | 1 | -1/+10 |
| | |||||
* | new conversion float->integer: conversion is valid only when | Roberto Ierusalimschy | 2014-07-17 | 1 | -20/+21 |
| | | | | float has an exact representation as an integer | ||||
* | detail (added placeholders for non-function fields to preallocate | Roberto Ierusalimschy | 2014-07-16 | 1 | -1/+6 |
| | | | | space for them) | ||||
* | detail (typos in comments) | Roberto Ierusalimschy | 2014-06-30 | 1 | -3/+3 |
| | |||||
* | unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.) | Roberto Ierusalimschy | 2014-06-26 | 1 | -2/+2 |
| | | | | deprecated | ||||
* | 'math.ifloor' is back | Roberto Ierusalimschy | 2014-06-18 | 1 | -1/+15 |
| | |||||
* | 'math.mof' works with integers, too | Roberto Ierusalimschy | 2014-06-02 | 1 | -12/+24 |
| | |||||
* | no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil' | Roberto Ierusalimschy | 2014-05-26 | 1 | -14/+18 |
| | |||||
* | several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp) | Roberto Ierusalimschy | 2014-05-14 | 1 | -66/+72 |
| | |||||
* | 'math.fmod' handles integers as integers | Roberto Ierusalimschy | 2014-05-02 | 1 | -4/+14 |
| | |||||
* | 'math.random(n,m)' interval restricted in size, to avoid using conversion | Roberto Ierusalimschy | 2014-04-17 | 1 | -8/+12 |
| | | | | between 'double' and 'unsigned' (which can be slow and unreliable) | ||||
* | math.random: use 'random' when available + changes to work correctly | Roberto Ierusalimschy | 2014-04-10 | 1 | -8/+19 |
| | | | | for any integer interval (up to [minint,maxint]) | ||||
* | more precision for PI + no more RADIANS_PER_DEGREE + | Roberto Ierusalimschy | 2014-04-09 | 1 | -7/+6 |
| | | | | 'min/maxint' -> 'min/maxinteger' | ||||
* | new constants 'math.maxint'/'math.minint' | Roberto Ierusalimschy | 2014-04-03 | 1 | -1/+5 |
| | |||||
* | some details to avoid warnings | Roberto Ierusalimschy | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | math.abs, math.max, and math.min work for integers, too. | Roberto Ierusalimschy | 2014-03-31 | 1 | -15/+20 |
| | |||||
* | 'debug.subtype' -> 'math.type' (to distinguish integers and floats) | Roberto Ierusalimschy | 2013-07-22 | 1 | -1/+16 |
| | |||||
* | 'math.isfloat' replaced by 'debug.subtype' | Roberto Ierusalimschy | 2013-07-10 | 1 | -9/+1 |
| | |||||
* | new function 'ifloor' | Roberto Ierusalimschy | 2013-07-03 | 1 | -1/+14 |
| | |||||
* | 'numbits' moved from 'math' to 'debug' library | Roberto Ierusalimschy | 2013-06-25 | 1 | -14/+1 |
| | |||||
* | avoid using 'modf' in the implementation of 'math.modf', to avoid | Roberto Ierusalimschy | 2013-06-25 | 1 | -10/+12 |
| | | | | | problems with 'double*'. (When using 'float' as lua_Number, 'float*' is not compatible with 'double*'...) | ||||
* | 'math.random' operates with integers when used for integer results | Roberto Ierusalimschy | 2013-06-13 | 1 | -9/+11 |
| | | | | (1 or 2 parameters) | ||||
* | support for the case when 'l_mathop' does not conform to lua_Number | Roberto Ierusalimschy | 2013-05-26 | 1 | -2/+7 |
| | | | | | (problem with pointers to lua_Number solved by a typedef selected automatically by 'l_mathop') | ||||
* | new function 'math.numbits' (not a final decision) | Roberto Ierusalimschy | 2013-05-06 | 1 | -1/+15 |
| | |||||
* | new function 'math.isfloat' | Roberto Ierusalimschy | 2013-05-02 | 1 | -1/+8 |
| | |||||
* | second parameter to 'ldexp' is an integer | Roberto Ierusalimschy | 2013-03-07 | 1 | -2/+2 |
| | |||||
* | small improvement in the support of 'float' as lua_Number | Roberto Ierusalimschy | 2013-01-29 | 1 | -38/+34 |
| | |||||
* | allow "long double" precision for PI constant if needed | Roberto Ierusalimschy | 2012-05-18 | 1 | -6/+6 |
| | |||||
* | removed and deprecated functions really removed from the code base | Roberto Ierusalimschy | 2011-07-05 | 1 | -6/+5 |
| | |||||
* | avoid "unreacheable code" warnings | Roberto Ierusalimschy | 2010-11-18 | 1 | -4/+5 |
| | |||||
* | 'l_tvar' renamed to 'l_tg' | Roberto Ierusalimschy | 2010-11-12 | 1 | -32/+31 |
| | |||||
* | new macro 'l_tvar' to easy the use of mathlib with other floating | Roberto Ierusalimschy | 2010-11-11 | 1 | -28/+39 |
| | | | | types (float and long double) | ||||
* | new type lua_Unsigned and corresponding projection/injection functions | Roberto Ierusalimschy | 2010-10-25 | 1 | -2/+2 |
| | |||||
* | new module policy: C modules do not create globals and do not register | Roberto Ierusalimschy | 2010-07-02 | 1 | -2/+2 |
| | | | | | | themselves with 'require' (let 'require' do its work); new auxiliary functions luaL_newlib/luaL_newlibtable/luaL_setfuncs/luaL_requiref. Old luaL_register will be deprecated. | ||||
* | new mark LUAMOD_API for all luaopen_* functions | Roberto Ierusalimschy | 2009-11-24 | 1 | -2/+2 |
| | |||||
* | 'math.random' uses lua_Number to manage its arguments (there is no | Roberto Ierusalimschy | 2009-03-17 | 1 | -8/+8 |
| | | | | reason to lose range). | ||||
* | 'log10' is deprecated now | Roberto Ierusalimschy | 2009-02-18 | 1 | -1/+5 |
| | |||||
* | better precision for log(x, 10) | Roberto Ierusalimschy | 2009-02-18 | 1 | -4/+10 |
| |