This commit is contained in:
Бранимир Караџић
2024-11-23 20:45:08 -08:00
parent d588a8fb0e
commit 7014882dcd
3 changed files with 63 additions and 4 deletions

View File

@@ -194,6 +194,7 @@ namespace bx
{
int32_t exp;
float ff = frexp(_a, &exp);
if (ff < kSqrt2*0.5f)
{
ff *= 2.0f;