mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Implement hash for Dec
This commit is contained in:
parent
0b475ae979
commit
3585d5bb5b
12 changed files with 44 additions and 6 deletions
|
@ -1187,6 +1187,11 @@ pub(crate) fn run_low_level<'a, 'ctx>(
|
|||
// which could be useful to look at when implementing this.
|
||||
todo!("implement checked float conversion");
|
||||
}
|
||||
I128OfDec => {
|
||||
arguments!(dec);
|
||||
|
||||
call_bitcode_fn(env, &[dec], bitcode::DEC_TO_I128)
|
||||
}
|
||||
Eq => {
|
||||
arguments_with_layouts!((lhs_arg, lhs_layout), (rhs_arg, rhs_layout));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue