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:
Martijn Courteaux
2025-02-01 01:14:20 +01:00
committed by GitHub
parent fae06fa431
commit 5fb8c15e15
20 changed files with 1230 additions and 271 deletions

View File

@@ -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) );