Roberto Ierusalimschy
|
37a1b72706
Small optimization in 'project' from math.random
|
4 months ago |
Roberto Ierusalimschy
|
b0f3df16a4
Addition in math.random can overflow
|
4 months ago |
Roberto Ierusalimschy
|
2d8d5c74b5
Details
|
6 months ago |
Roberto Ierusalimschy
|
0acd55898d
Added gcc option '-Wconversion'
|
1 year ago |
Roberto Ierusalimschy
|
a08d82eb13
llimits.h being used by all Lua code
|
1 year ago |
Roberto Ierusalimschy
|
7237eb3f1c
Fixed warnings from different compilers
|
1 year ago |
Roberto Ierusalimschy
|
9e99f3071d
Merge branch 'master' into nextversion
|
1 year ago |
Roberto Ierusalimschy
|
edd8589f47
Avoid casts from unsigned long to floating-point
|
1 year ago |
Roberto Ierusalimschy
|
86e8039a72
Clock component removed from 'luaL_makeseed'
|
2 years ago |
Roberto Ierusalimschy
|
5a04f1851e
New function 'luaL_makeseed'
|
2 years ago |
Roberto Ierusalimschy
|
82fae58e25
Details
|
2 years ago |
Roberto Ierusalimschy
|
8dd2c912d2
Detail
|
3 years ago |
Roberto Ierusalimschy
|
59c88f846d
Broadening the use of branch hints
|
4 years ago |
Roberto Ierusalimschy
|
0ddc0f47bd
Several details about 5.4.0 rc1
|
5 years ago |
Roberto Ierusalimschy
|
6eb53b7526
Details
|
5 years ago |
Roberto Ierusalimschy
|
2d92102dee
'l_mathlim' renamed to 'l_floatatt'
|
5 years ago |
Roberto Ierusalimschy
|
b96b0b5abb
Added macro 'luaL_pushfail'
|
6 years ago |
Roberto Ierusalimschy
|
2f22c6bb79
'math.randomseed' always returns the two seed components
|
6 years ago |
Roberto Ierusalimschy
|
4eefef07ab
'math.randomseed()' returns the seeds it used
|
6 years ago |
Roberto Ierusalimschy
|
347d6961ac
Define LUA_MAXUNSIGNED as a preprocessor constant
|
6 years ago |
Roberto Ierusalimschy
|
279c3a6961
A few changes in tests about number of bits in integers
|
6 years ago |
Roberto Ierusalimschy
|
9eca305e75
'math.randomseed()' sets a somewhat random seed
|
6 years ago |
Roberto Ierusalimschy
|
51316f9df7
'math.rand()' uses higher bits to produce float value
|
6 years ago |
Roberto Ierusalimschy
|
f99509581e
Removed extra information from RCS keyword strings
|
7 years ago |
Roberto Ierusalimschy
|
aedcfb9414
type 'Rand64' may not be long long, so it should not use 'LL' in its
|
7 years ago |
Roberto Ierusalimschy
|
de53c2ec7e
using some weak "randomness" (time and memory address) to initialize
|
7 years ago |
Roberto Ierusalimschy
|
80bd4a8940
correction on xoshiro256** algorithm
|
7 years ago |
Roberto Ierusalimschy
|
3e7415e846
reorganization of '#if's for sellecting a type for 'Rand64' +
|
7 years ago |
Roberto Ierusalimschy
|
762baf0548
detail (trim constants are unsigned)
|
7 years ago |
Roberto Ierusalimschy
|
b8a04658b2
PRNG changed from 'xoroshiro128+' to 'xoshiro256**' + "I' renamed 'Rand64'
|
7 years ago |