This simplifies src/runtime/math.go, which I eventually want to remove entirely by moving the given functionality into the compiler.