Searched refs:I2UInt (Results 1 – 1 of 1) sorted by relevance
341 #define I2UInt(x) ((lua_Unsigned)trim64(x)) macro501 static lua_Unsigned I2UInt (Rand64 x) { in I2UInt() function550 ran = I2UInt(nextrand(state->s)); /* not inside [0..n]? try again */ in project()570 lua_pushinteger(L, I2UInt(rv)); /* full random integer */ in math_random()585 p = project(I2UInt(rv), (lua_Unsigned)up - (lua_Unsigned)low, state); in math_random()