mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Add Num.withDecimalPoint
This commit is contained in:
parent
9c664172dd
commit
64e9899cad
12 changed files with 34 additions and 13 deletions
|
@ -1172,9 +1172,9 @@ pub(crate) fn run_low_level<'a, 'ctx>(
|
|||
// which could be useful to look at when implementing this.
|
||||
todo!("implement checked float conversion");
|
||||
}
|
||||
I128OfDec | DecWithoutDecimalPoint => {
|
||||
arguments!(dec);
|
||||
dec_unary_op(env, bitcode::DEC_TO_I128, dec)
|
||||
I128OfDec | NumWithoutDecimalPoint | NumWithDecimalPoint => {
|
||||
arguments!(arg);
|
||||
arg
|
||||
}
|
||||
Eq => {
|
||||
arguments_with_layouts!((lhs_arg, lhs_layout), (rhs_arg, rhs_layout));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue