mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-07 20:40:44 +00:00
Num.pow for Dec
This commit is contained in:
parent
2e648cfdd5
commit
e16b25c93e
7 changed files with 125 additions and 2 deletions
|
@ -1099,7 +1099,7 @@ trait Backend<'a> {
|
|||
LayoutRepr::Builtin(Builtin::Float(float_width)) => {
|
||||
&bitcode::NUM_POW[float_width]
|
||||
}
|
||||
LayoutRepr::DEC => todo!("exponentiation for decimals"),
|
||||
LayoutRepr::DEC => bitcode::DEC_POW,
|
||||
_ => unreachable!("invalid layout for NumPow"),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue