|
| static int | math_abs (lua_State *L) |
| |
| static int | math_sin (lua_State *L) |
| |
| static int | math_cos (lua_State *L) |
| |
| static int | math_tan (lua_State *L) |
| |
| static int | math_asin (lua_State *L) |
| |
| static int | math_acos (lua_State *L) |
| |
| static int | math_atan (lua_State *L) |
| |
| static int | math_toint (lua_State *L) |
| |
| static void | pushnumint (lua_State *L, lua_Number d) |
| |
| static int | math_floor (lua_State *L) |
| |
| static int | math_ceil (lua_State *L) |
| |
| static int | math_fmod (lua_State *L) |
| |
| static int | math_modf (lua_State *L) |
| |
| static int | math_sqrt (lua_State *L) |
| |
| static int | math_ult (lua_State *L) |
| |
| static int | math_log (lua_State *L) |
| |
| static int | math_exp (lua_State *L) |
| |
| static int | math_deg (lua_State *L) |
| |
| static int | math_rad (lua_State *L) |
| |
| static int | math_min (lua_State *L) |
| |
| static int | math_max (lua_State *L) |
| |
| static int | math_type (lua_State *L) |
| |
| static Rand64 | packI (lu_int32 h, lu_int32 l) |
| |
| static Rand64 | Ishl (Rand64 i, int n) |
| |
| static void | Ixor (Rand64 *i1, Rand64 i2) |
| |
| static Rand64 | Iadd (Rand64 i1, Rand64 i2) |
| |
| static Rand64 | times5 (Rand64 i) |
| |
| static Rand64 | times9 (Rand64 i) |
| |
| static Rand64 | rotl (Rand64 i, int n) |
| |
| static Rand64 | rotl1 (Rand64 i, int n) |
| |
| static Rand64 | nextrand (Rand64 *state) |
| |
| static lua_Number | I2d (Rand64 x) |
| |
| static lua_Unsigned | I2UInt (Rand64 x) |
| |
| static Rand64 | Int2I (lua_Unsigned n) |
| |
| static lua_Unsigned | project (lua_Unsigned ran, lua_Unsigned n, RanState *state) |
| |
| static int | math_random (lua_State *L) |
| |
| static void | setseed (lua_State *L, Rand64 *state, lua_Unsigned n1, lua_Unsigned n2) |
| |
| static void | randseed (lua_State *L, RanState *state) |
| |
| static int | math_randomseed (lua_State *L) |
| |
| static void | setrandfunc (lua_State *L) |
| |
| LUAMOD_API int | luaopen_math (lua_State *L) |
| |