mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Num.pow for Dec
This commit is contained in:
parent
2e648cfdd5
commit
e16b25c93e
7 changed files with 125 additions and 2 deletions
|
@ -1585,6 +1585,10 @@ impl<'a> LowLevelCall<'a> {
|
|||
LayoutRepr::Builtin(Builtin::Float(width)) => {
|
||||
self.load_args_and_call_zig(backend, &bitcode::NUM_POW[width]);
|
||||
}
|
||||
LayoutRepr::Builtin(Builtin::Decimal) => {
|
||||
self.load_args_and_call_zig(backend, bitcode::DEC_POW);
|
||||
}
|
||||
|
||||
_ => panic_ret_type(),
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue