This commit is contained in:
Бранимир Караџић
2024-12-02 19:56:46 -08:00
parent 198fef12b3
commit 4a1f0ab630
2 changed files with 112 additions and 101 deletions

View File

@@ -514,6 +514,10 @@ TEST_CASE("ldexp", "[math][libm]")
TEST_CASE("exp", "[math][libm]")
{
STATIC_REQUIRE( 1.0f == bx::exp(-0.0f) );
STATIC_REQUIRE( 0.0f == bx::exp(-bx::kFloatInfinity) );
STATIC_REQUIRE( 0.0f == bx::exp(bx::log(bx::kFloatSmallest) ) );
bx::WriterI* writer = bx::getNullOut();
bx::Error err;