You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@KilianVounckx can you please check if this is reproducible using the llvm backend. You can copy this into an basic-cli app and run using --optimize. Also can you please confirm which operating system and architecture you experienced this on.
I get the same behaviour on my apple silicon Mac using the repl.
When
Num.powInt
overflows, it doesn't panic, but silently returns 0.To replicate, enter
Num.powInt (Num.toU8 2) 8
in the repl.The text was updated successfully, but these errors were encountered: