Switch from floats to usize

This commit is contained in:
Joshua Hoeflich 2021-08-14 18:30:43 -05:00
parent d976f2fc93
commit c8f6762deb
4 changed files with 8 additions and 8 deletions

View file

@ -1090,7 +1090,7 @@ fn num_asin(symbol: Symbol, var_store: &mut VarStore) -> Def {
}
/// TODO: This is obviously wrong! Fix me!
/// Num.bytesToU16 : Float -> Float
/// Num.bytesToU16 : Nat -> Nat
fn num_bytes_to_u16(symbol: Symbol, var_store: &mut VarStore) -> Def {
let arg_float_var = var_store.fresh();
let ret_float_var = var_store.fresh();