summaryrefslogtreecommitdiff
path: root/lmathlib.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Lua 5.3.5 ported to gitv5.3.5Roberto Ierusalimschy2018-12-171-1/+1
* detail (removing spaces at end of lines)Roberto Ierusalimschy2016-12-221-4/+4
* Using LUAI_UAC* types more consistently on vararg callsRoberto Ierusalimschy2016-12-201-4/+7
* detail (ensure subtraction is done unsigned)Roberto Ierusalimschy2015-10-021-2/+2
* tiny bug: 'randomseed' was calling 'rand' (instead of 'l_rand')Roberto Ierusalimschy2015-06-261-2/+2
* use 'log2' when availableRoberto Ierusalimschy2015-03-121-1/+4
* bug: 'random' limit is 2^31-1, not RAND_MAXRoberto Ierusalimschy2014-12-271-3/+5
* cleaner test for overflow for range of 'math.random'Roberto Ierusalimschy2014-11-071-3/+3
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
* 'lua_numtointeger' -> 'lua_numbertointeger'Roberto Ierusalimschy2014-10-241-2/+2
* added some casts for the cases when lua_Number != doubleRoberto Ierusalimschy2014-10-081-6/+6
* deprecated "cast macros" ('luaL_checkint', 'luaL_optint', etc.)Roberto Ierusalimschy2014-10-011-2/+2
* new function 'math.ult' (unsigned less than)Roberto Ierusalimschy2014-07-281-1/+10
* new conversion float->integer: conversion is valid only whenRoberto Ierusalimschy2014-07-171-20/+21
* detail (added placeholders for non-function fields to preallocateRoberto Ierusalimschy2014-07-161-1/+6
* detail (typos in comments)Roberto Ierusalimschy2014-06-301-3/+3
* unsigned-manipulation functions (lua_puhsunsigned, lua_tounsigned, etc.)Roberto Ierusalimschy2014-06-261-2/+2
* 'math.ifloor' is backRoberto Ierusalimschy2014-06-181-1/+15
* 'math.mof' works with integers, tooRoberto Ierusalimschy2014-06-021-12/+24
* no more 'math.ifloor' + new semantics for 'math.floor'/'math.ceil'Roberto Ierusalimschy2014-05-261-14/+18
* several functions deprecated (cosh, sinh, atanh, pow, frexp, ldexp)Roberto Ierusalimschy2014-05-141-66/+72
* 'math.fmod' handles integers as integersRoberto Ierusalimschy2014-05-021-4/+14
* 'math.random(n,m)' interval restricted in size, to avoid using conversionRoberto Ierusalimschy2014-04-171-8/+12
* math.random: use 'random' when available + changes to work correctlyRoberto Ierusalimschy2014-04-101-8/+19
* more precision for PI + no more RADIANS_PER_DEGREE +Roberto Ierusalimschy2014-04-091-7/+6
* new constants 'math.maxint'/'math.minint'Roberto Ierusalimschy2014-04-031-1/+5
* some details to avoid warningsRoberto Ierusalimschy2014-04-011-2/+2
* math.abs, math.max, and math.min work for integers, too.Roberto Ierusalimschy2014-03-311-15/+20
* 'debug.subtype' -> 'math.type' (to distinguish integers and floats)Roberto Ierusalimschy2013-07-221-1/+16
* 'math.isfloat' replaced by 'debug.subtype'Roberto Ierusalimschy2013-07-101-9/+1
* new function 'ifloor'Roberto Ierusalimschy2013-07-031-1/+14
* 'numbits' moved from 'math' to 'debug' libraryRoberto Ierusalimschy2013-06-251-14/+1
* avoid using 'modf' in the implementation of 'math.modf', to avoidRoberto Ierusalimschy2013-06-251-10/+12
* 'math.random' operates with integers when used for integer resultsRoberto Ierusalimschy2013-06-131-9/+11
* support for the case when 'l_mathop' does not conform to lua_NumberRoberto Ierusalimschy2013-05-261-2/+7
* new function 'math.numbits' (not a final decision)Roberto Ierusalimschy2013-05-061-1/+15
* new function 'math.isfloat'Roberto Ierusalimschy2013-05-021-1/+8
* second parameter to 'ldexp' is an integerRoberto Ierusalimschy2013-03-071-2/+2
* small improvement in the support of 'float' as lua_NumberRoberto Ierusalimschy2013-01-291-38/+34
* allow "long double" precision for PI constant if neededRoberto Ierusalimschy2012-05-181-6/+6
* removed and deprecated functions really removed from the code baseRoberto Ierusalimschy2011-07-051-6/+5
* avoid "unreacheable code" warningsRoberto Ierusalimschy2010-11-181-4/+5
* 'l_tvar' renamed to 'l_tg'Roberto Ierusalimschy2010-11-121-32/+31
* new macro 'l_tvar' to easy the use of mathlib with other floatingRoberto Ierusalimschy2010-11-111-28/+39
* new type lua_Unsigned and corresponding projection/injection functionsRoberto Ierusalimschy2010-10-251-2/+2
* new module policy: C modules do not create globals and do not registerRoberto Ierusalimschy2010-07-021-2/+2
* new mark LUAMOD_API for all luaopen_* functionsRoberto Ierusalimschy2009-11-241-2/+2
* 'math.random' uses lua_Number to manage its arguments (there is noRoberto Ierusalimschy2009-03-171-8/+8
* 'log10' is deprecated nowRoberto Ierusalimschy2009-02-181-1/+5
* better precision for log(x, 10)Roberto Ierusalimschy2009-02-181-4/+10