Fix all failing std.math unit tests