mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-08 13:00:32 +00:00
Add Num.withoutDecimalPoint
This commit is contained in:
parent
62cc19c64b
commit
9c664172dd
9 changed files with 25 additions and 4 deletions
|
@ -2029,6 +2029,11 @@ trait Backend<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
LowLevel::DecWithoutDecimalPoint => {
|
||||
let intrinsic = bitcode::DEC_TO_I128.to_string();
|
||||
self.build_fn_call(sym, intrinsic, args, arg_layouts, ret_layout)
|
||||
}
|
||||
|
||||
x => todo!("low level, {:?}", x),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue