convert a 'Rand64' to a 'lua_Unsigned' */
| 517 | |
| 518 | /* convert a 'Rand64' to a 'lua_Unsigned' */ |
| 519 | static lua_Unsigned I2UInt (Rand64 x) { |
| 520 | return (((lua_Unsigned)trim32(x.h) << 31) << 1) | (lua_Unsigned)trim32(x.l); |
| 521 | } |
| 522 | |
| 523 | /* convert a 'lua_Unsigned' to a 'Rand64' */ |
| 524 | static Rand64 Int2I (lua_Unsigned n) { |
no outgoing calls
no test coverage detected