luaur-compiler 0.1.3

Luau source-to-bytecode compiler (Rust).
Documentation
1
2
3
4
5
#[allow(non_snake_case)]
pub fn bit32(v: f64) -> u32 {
    // convert through signed 64-bit integer to match runtime behavior and gracefully truncate negative integers
    v as i64 as u32
}