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
*
Details
Roberto Ierusalimschy
2025-01-16
1
-1
/
+1
*
Added gcc option '-Wconversion'
Roberto Ierusalimschy
2024-07-27
1
-6
/
+6
*
llimits.h being used by all Lua code
Roberto Ierusalimschy
2024-06-20
1
-14
/
+7
*
Fixed warnings from different compilers
Roberto Ierusalimschy
2024-02-15
1
-1
/
+1
*
Merge branch 'master' into nextversion
Roberto Ierusalimschy
2023-11-07
1
-7
/
+24
|
\
|
*
Avoid casts from unsigned long to floating-point
Roberto Ierusalimschy
2023-09-08
1
-7
/
+24
*
|
Clock component removed from 'luaL_makeseed'
Roberto Ierusalimschy
2023-03-23
1
-2
/
+2
*
|
New function 'luaL_makeseed'
Roberto Ierusalimschy
2023-03-20
1
-17
/
+7
|
/
*
Details
Roberto Ierusalimschy
2022-12-02
1
-5
/
+5
*
Detail
Roberto Ierusalimschy
2022-01-03
1
-2
/
+2
*
Broadening the use of branch hints
Roberto Ierusalimschy
2021-02-24
1
-2
/
+3
*
Several details about 5.4.0 rc1
Roberto Ierusalimschy
2020-04-23
1
-1
/
+1
*
Details
Roberto Ierusalimschy
2020-02-27
1
-13
/
+15
*
'l_mathlim' renamed to 'l_floatatt'
Roberto Ierusalimschy
2019-12-05
1
-1
/
+1
*
Added macro 'luaL_pushfail'
Roberto Ierusalimschy
2019-08-16
1
-2
/
+2
*
'math.randomseed' always returns the two seed components
Roberto Ierusalimschy
2019-07-19
1
-7
/
+7
*
'math.randomseed()' returns the seeds it used
Roberto Ierusalimschy
2019-07-17
1
-2
/
+7
*
Define LUA_MAXUNSIGNED as a preprocessor constant
Roberto Ierusalimschy
2019-05-14
1
-2
/
+2
*
A few changes in tests about number of bits in integers
Roberto Ierusalimschy
2019-05-13
1
-4
/
+4
*
'math.randomseed()' sets a somewhat random seed
Roberto Ierusalimschy
2019-03-13
1
-10
/
+21
*
'math.rand()' uses higher bits to produce float value
Roberto Ierusalimschy
2018-12-11
1
-20
/
+38
*
Removed extra information from RCS keyword strings
Roberto Ierusalimschy
2018-08-23
1
-1
/
+1
*
type 'Rand64' may not be long long, so it should not use 'LL' in its
Roberto Ierusalimschy
2018-06-14
1
-4
/
+5
*
using some weak "randomness" (time and memory address) to initialize
Roberto Ierusalimschy
2018-05-16
1
-10
/
+21
*
correction on xoshiro256** algorithm
Roberto Ierusalimschy
2018-05-09
1
-3
/
+3
*
reorganization of '#if's for sellecting a type for 'Rand64' +
Roberto Ierusalimschy
2018-05-04
1
-31
/
+56
*
detail (trim constants are unsigned)
Roberto Ierusalimschy
2018-04-06
1
-3
/
+3
*
PRNG changed from 'xoroshiro128+' to 'xoshiro256**' + "I' renamed 'Rand64'
Roberto Ierusalimschy
2018-04-06
1
-73
/
+109
*
using 'xoroshiro128+' for PRNG
Roberto Ierusalimschy
2018-04-04
1
-87
/
+88
*
in 'random', uses high-order bits instead of low-order
Roberto Ierusalimschy
2018-03-26
1
-49
/
+68
*
in random/'project', remove the special case for "small" intervals;
Roberto Ierusalimschy
2018-03-22
1
-24
/
+15
*
avoid functions named 'pack'
Roberto Ierusalimschy
2018-03-16
1
-7
/
+7
*
'lu_int32' may not be 'int'
Roberto Ierusalimschy
2018-03-12
1
-10
/
+13
*
more explicit casts when converting an integer to a random float
Roberto Ierusalimschy
2018-03-11
1
-3
/
+5
*
random floats of different sizes get exactly needed number of random bits
Roberto Ierusalimschy
2018-03-09
1
-30
/
+58
*
slight simplification in 'xorshift128plus'
Roberto Ierusalimschy
2018-03-09
1
-9
/
+11
*
fairer projection of random integers into an integer interval
Roberto Ierusalimschy
2018-03-09
1
-15
/
+54
*
'math.random' using the xorshift128+ algorithm
Roberto Ierusalimschy
2018-03-05
1
-36
/
+195
*
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
*
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
*
'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
[next]