convert a 'Rand64' to a 'lua_Unsigned' */
| 499 | |
| 500 | /* convert a 'Rand64' to a 'lua_Unsigned' */ |
| 501 | static lua_Unsigned I2UInt (Rand64 x) { |
| 502 | return ((lua_Unsigned)trim32(x.h) << 31 << 1) | (lua_Unsigned)trim32(x.l); |
| 503 | } |
| 504 | |
| 505 | /* convert a 'lua_Unsigned' to a 'Rand64' */ |
| 506 | static Rand64 Int2I (lua_Unsigned n) { |
no outgoing calls
no test coverage detected