Roberto Ierusalimschy
|
fcf99bf788
'math.isfloat' replaced by 'debug.subtype'
|
12 vuotta sitten |
Roberto Ierusalimschy
|
cbe164191c
new function 'ifloor'
|
12 vuotta sitten |
Roberto Ierusalimschy
|
15fdbd26fe
'numbits' moved from 'math' to 'debug' library
|
12 vuotta sitten |
Roberto Ierusalimschy
|
80cdf39d0e
avoid using 'modf' in the implementation of 'math.modf', to avoid
|
12 vuotta sitten |
Roberto Ierusalimschy
|
788b251157
'math.random' operates with integers when used for integer results
|
12 vuotta sitten |
Roberto Ierusalimschy
|
1414b7123c
support for the case when 'l_mathop' does not conform to lua_Number
|
12 vuotta sitten |
Roberto Ierusalimschy
|
0233ce0815
new function 'math.numbits' (not a final decision)
|
12 vuotta sitten |
Roberto Ierusalimschy
|
29fe3abda2
new function 'math.isfloat'
|
12 vuotta sitten |
Roberto Ierusalimschy
|
8830901a9c
second parameter to 'ldexp' is an integer
|
12 vuotta sitten |
Roberto Ierusalimschy
|
181a837cac
small improvement in the support of 'float' as lua_Number
|
12 vuotta sitten |
Roberto Ierusalimschy
|
3ac595da8a
allow "long double" precision for PI constant if needed
|
13 vuotta sitten |
Roberto Ierusalimschy
|
79cbc3468c
removed and deprecated functions really removed from the code base
|
14 vuotta sitten |
Roberto Ierusalimschy
|
bcce769d29
avoid "unreacheable code" warnings
|
14 vuotta sitten |
Roberto Ierusalimschy
|
a1952d9c41
'l_tvar' renamed to 'l_tg'
|
14 vuotta sitten |
Roberto Ierusalimschy
|
1a46a713d2
new macro 'l_tvar' to easy the use of mathlib with other floating
|
14 vuotta sitten |
Roberto Ierusalimschy
|
c6b64ffe65
new type lua_Unsigned and corresponding projection/injection functions
|
15 vuotta sitten |
Roberto Ierusalimschy
|
7192afafee
new module policy: C modules do not create globals and do not register
|
15 vuotta sitten |
Roberto Ierusalimschy
|
a6f465f558
new mark LUAMOD_API for all luaopen_* functions
|
15 vuotta sitten |
Roberto Ierusalimschy
|
3ca739b418
'math.random' uses lua_Number to manage its arguments (there is no
|
16 vuotta sitten |
Roberto Ierusalimschy
|
a1d0e1a11a
'log10' is deprecated now
|
16 vuotta sitten |
Roberto Ierusalimschy
|
8975739839
better precision for log(x, 10)
|
16 vuotta sitten |
Roberto Ierusalimschy
|
8d3dd04137
clearing some old compatibility code
|
18 vuotta sitten |
Roberto Ierusalimschy
|
8e36e1fe49
details (randomseed calls rand once to dischard first value)
|
18 vuotta sitten |
Roberto Ierusalimschy
|
5019b2dd20
math.log now accepts an optional base
|
19 vuotta sitten |
Roberto Ierusalimschy
|
3390f9a35a
detail
|
20 vuotta sitten |
Roberto Ierusalimschy
|
5e8a9e324c
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
|
20 vuotta sitten |
Roberto Ierusalimschy
|
289b5dc67a
details (function list in alphabetical order)
|
20 vuotta sitten |
Roberto Ierusalimschy
|
1f9f97e3cf
'math.mod' -> 'math.fmod'
|
20 vuotta sitten |
Roberto Ierusalimschy
|
49f90ffdeb
new functions (to complete math.h)
|
20 vuotta sitten |
Roberto Ierusalimschy
|
f61d435a7d
a^b calls `pow´ (from math.h) directly
|
20 vuotta sitten |