1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00
Files
lua-lua/testes
Roberto Ierusalimschy 51316f9df7 'math.rand()' uses higher bits to produce float value
The call 'math.rand()' converts the higher bits of the internal unsigned
integer random to a float, instead of its lower bits. That ensures that
Lua compiled with different float precisions always generates equal (up
to the available precision) random numbers when given the same seed.
2018-12-11 11:34:47 -02:00
..
2018-11-07 10:03:05 -02:00