Test: Use inexact helper for log10 regular cases.

On ARMv6, the result is not precise enough for this function.
This commit is contained in:
Pierre Wendling 2022-06-15 14:36:13 -04:00 committed by Sam Lantinga
parent a52b8580f0
commit cee47a9ebe
1 changed files with 1 additions and 1 deletions

View File

@ -1268,7 +1268,7 @@ log10_regularCases(void *args)
{ 789.123, 2.8971447016351858927407647570362314581871032714843750 }, { 789.123, 2.8971447016351858927407647570362314581871032714843750 },
{ 2734.876324, 3.436937691540090433761633903486654162406921386718750 } { 2734.876324, 3.436937691540090433761633903486654162406921386718750 }
}; };
return helper_dtod("Log10", SDL_log10, regular_cases, SDL_arraysize(regular_cases)); return helper_dtod_inexact("Log10", SDL_log10, regular_cases, SDL_arraysize(regular_cases));
} }
/* SDL_pow tests functions */ /* SDL_pow tests functions */