Add LLVM implementation for toF32/64

This commit is contained in:
Richard Feldman 2022-04-07 14:17:04 -04:00
parent 605a8d39e9
commit a4233ad661
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
2 changed files with 35 additions and 7 deletions

View file

@ -266,6 +266,10 @@ pub fn builtin_defs_map(symbol: Symbol, var_store: &mut VarStore) -> Option<Def>
NUM_TO_U128_CHECKED => num_to_u128_checked,
NUM_TO_NAT => num_to_nat,
NUM_TO_NAT_CHECKED => num_to_nat_checked,
NUM_TO_F32 => num_to_f32,
NUM_TO_F32_CHECKED => num_to_f32_checked,
NUM_TO_F64 => num_to_f64,
NUM_TO_F64_CHECKED => num_to_f64_checked,
NUM_TO_STR => num_to_str,
RESULT_MAP => result_map,
RESULT_MAP_ERR => result_map_err,