use crate::functions::lua_l_checknumber::lua_l_checknumber;
use crate::functions::lua_pushnumber::lua_pushnumber;
use crate::type_aliases::lua_state::lua_State;

pub unsafe fn math_asin(l: *mut lua_State) -> i32 {
    lua_pushnumber(l, lua_l_checknumber(l, 1).asin());
    1
}
