Fix round(). Don't split a statement with a #pragma. It breaks the compiled output.

This commit is contained in:
Dan Halbert 2017-11-06 19:55:58 -05:00
parent bd7abcda97
commit ddc8570137

View File

@ -18,7 +18,7 @@ float nearbyintf(float x)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
if (y == 0)
#pragma GCC diagnostic pop
return s ? -0.0f : 0.0f;
#pragma GCC diagnostic pop
return y;
}