ModularM
Modular•14mo ago•
3 replies
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)


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!
Was this page helpful?