Numbers & math

Powers

Exponentiation is **, not ^ (that reads as XOR in most C-family languages).

Int ** Int stays Int, which is exactly why a negative exponent can’t work here. Predict it, then run:

No silent 0, no guessing: Ascent crashes and points you straight at the fix. Try 2.0 ** -1 in the block above and see.