Implement pure pow.
Fixup std.math unittests for new math implementations.