mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Cleanup.
This commit is contained in:
@@ -58,8 +58,13 @@ TEST_CASE("vsnprintf f", "")
|
||||
REQUIRE(test(" nan", "%8f", std::numeric_limits<double>::quiet_NaN() ) );
|
||||
|
||||
#if !BX_CRT_MSVC
|
||||
// BK - VS2015 CRT vsnprintf returns '-NAN(IND' for some reason?
|
||||
// BK - VS2015 CRT vsnprintf returns '-NAN(IND'.
|
||||
# if BX_CRT_LIBCXX
|
||||
// BK - Clang LibC vsnprintf returns 'NAN '.
|
||||
REQUIRE(test("NAN ", "%-8F", -std::numeric_limits<double>::quiet_NaN() ) );
|
||||
# else
|
||||
REQUIRE(test("-NAN ", "%-8F", -std::numeric_limits<double>::quiet_NaN() ) );
|
||||
# endif // BX_CRT_LIBCXX
|
||||
#endif // !BX_CRT_MSVC
|
||||
|
||||
REQUIRE(test(" inf", "%8f", std::numeric_limits<double>::infinity() ) );
|
||||
|
||||
Reference in New Issue
Block a user