crt-test: Remove a skip for a floor function issue
When using the floor function from msvcrt/ucrt instead of a libmingwex reimplementation, this test passes on arm as well.
This commit is contained in:
1 parent
5f846336c0
commit
62869c798c
1 file changed
-3
@@ -171,10 +171,7 @@ int main(int argc, char* argv[]) {
|
|||||||
tests++;
|
tests++;
|
||||||
|
|
||||||
TEST_FLT(floor(F(3.9)), 3.0);
|
TEST_FLT(floor(F(3.9)), 3.0);
|
||||||
#if !defined(__MINGW32__) || !defined(__arm__)
|
|
||||||
// TODO: floor/ceil on mingw-w64 on arm truncates results to the 32 bit integer range
|
|
||||||
TEST_FLT(floor(F(17179869184.0)), 17179869184.0);
|
TEST_FLT(floor(F(17179869184.0)), 17179869184.0);
|
||||||
#endif
|
|
||||||
TEST_FLT(floor(F(-3.3)), -4.0);
|
TEST_FLT(floor(F(-3.3)), -4.0);
|
||||||
TEST_FLT(floor(F(-3.9)), -4.0);
|
TEST_FLT(floor(F(-3.9)), -4.0);
|
||||||
TEST_FLT(floor(F(INFINITY)), INFINITY);
|
TEST_FLT(floor(F(INFINITY)), INFINITY);
|
||||||
|
|||||||
Reference in new issue
Block a user