M
Modular•2mo ago
toasty

Compile time float pow is crashing, is there a proper way to do this?

Crashing on a lower level open-source/mojo/stdlib/stdlib/sys/intrinsics.mojo:90:14: note: LLVM intrinsic operand has unknown value: #pop<simd "1.8618819175149959"> : !pop.scalar<f64>
alias num = 1.23 ** 4.56

fn main():
print(num)
alias num = 1.23 ** 4.56

fn main():
print(num)
Potential bug? Or just a current limitation? 🙂 If it looks like a bug to someone who's a bit more familiar with the implementation, I'll open an issue!
2 Replies
sora
sora•2mo ago
I think it's a bug. Could you please file an issue on GH?
toasty
toastyOP•2mo ago
Yep, on it

Did you find this page helpful?