Algebrite
Algebrite copied to clipboard
i^5 returns -i, but should be i
i^(4k + 1)
should return i
when k is a positive integer, but Algebrite returns -i
instead.
For example, i^5
, i^9
, and i^1001
, should all return i
, but return -i
.
There's something wrong with exponentiation, in particular, since i*i*i*i*i
returns i
, as it should.