index
:
lua
master
v5-2
v5.3
v5.4
A mirror of https://github.com/lua/lua
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lmathlib.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
...
*
'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
*
math.random: use 'random' when available + changes to work correctly
Roberto Ierusalimschy
2014-04-10
1
-8
/
+19
*
more precision for PI + no more RADIANS_PER_DEGREE +
Roberto Ierusalimschy
2014-04-09
1
-7
/
+6
*
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
*
'math.random' operates with integers when used for integer results
Roberto Ierusalimschy
2013-06-13
1
-9
/
+11
*
support for the case when 'l_mathop' does not conform to lua_Number
Roberto Ierusalimschy
2013-05-26
1
-2
/
+7
*
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
*
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
*
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
*
'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
*
clearing some old compatibility code
Roberto Ierusalimschy
2007-06-21
1
-5
/
+1
*
details (randomseed calls rand once to dischard first value)
Roberto Ierusalimschy
2007-03-27
1
-1
/
+2
*
math.log now accepts an optional base
Roberto Ierusalimschy
2006-08-07
1
-2
/
+5
*
detail
Roberto Ierusalimschy
2005-08-26
1
-2
/
+2
*
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
Roberto Ierusalimschy
2005-08-15
1
-2
/
+2
*
details (function list in alphabetical order)
Roberto Ierusalimschy
2005-07-11
1
-16
/
+16
*
'math.mod' -> 'math.fmod'
Roberto Ierusalimschy
2005-06-13
1
-3
/
+7
*
new functions (to complete math.h)
Roberto Ierusalimschy
2005-03-04
1
-1
/
+30
*
a^b calls `pow´ (from math.h) directly
Roberto Ierusalimschy
2005-01-07
1
-3
/
+1
*
no more USE_DEGREES option
Roberto Ierusalimschy
2004-05-10
1
-21
/
+8
*
new scheme for configuration through `luaconf.h'
Roberto Ierusalimschy
2004-04-30
1
-1
/
+2
*
lua_(set)getglobal are ok to use
Roberto Ierusalimschy
2003-11-05
1
-2
/
+2
*
new functions `lua_getfield' and `lua_setfield'
Roberto Ierusalimschy
2003-10-10
1
-5
/
+3
*
new functions `lua_tointeger' and lua_pushinteger'
Roberto Ierusalimschy
2003-10-07
1
-4
/
+4
*
^ operator is defined by global `__pow'
Roberto Ierusalimschy
2003-03-11
1
-2
/
+2
*
new names for functions that open C libraries
Roberto Ierusalimschy
2003-03-11
1
-2
/
+2
*
`openlib' functions return new module
Roberto Ierusalimschy
2002-12-20
1
-2
/
+2
*
each .c file defines its own name
Roberto Ierusalimschy
2002-12-04
1
-1
/
+3
*
better names for auxiliar functions
Roberto Ierusalimschy
2002-11-14
1
-35
/
+32
*
detail
v5.0-alpha
Roberto Ierusalimschy
2002-08-14
1
-3
/
+3
*
angles in radians(!)
Roberto Ierusalimschy
2002-08-14
1
-7
/
+7
[prev]
[next]