51316f9df7aacb54633a3e9b910a070590ac6259
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.
Languages
C
66.7%
Lua
32.6%
Makefile
0.6%
Shell
0.1%