my interpreter does modular exponentiation

either that or it's so cheap that it's basically trivial