mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
TinySTL attempt 3. (#342)
* Update TinySTL (attempt 2). * Fix MSVC compilation issue for TinySTL. * Fix MSVC warning. * Favor ptrdiff_t for sizes in string. * Update genie.lua * Update math_test.cpp * Update test.h * Update test.h --------- Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fae06fa431
commit
5fb8c15e15
@@ -20,6 +20,7 @@ TEST_CASE("isFinite, isInfinite, isNan", "[math]")
|
||||
for (uint64_t ii = 0; ii < UINT32_MAX; ii += rand()%(1<<13)+1)
|
||||
{
|
||||
union { uint32_t ui; float f; } u = { uint32_t(ii) };
|
||||
BX_UNUSED(u);
|
||||
|
||||
#if BX_PLATFORM_OSX || BX_PLATFORM_IOS
|
||||
REQUIRE(::__isnanf(u.f) == bx::isNan(u.f) );
|
||||
|
||||
Reference in New Issue
Block a user