Commit cee47a9ebe28819a16310866e9de246dca3b8644

Pierre Wendling 2022-06-15T14:36:13

Test: Use inexact helper for log10 regular cases. On ARMv6, the result is not precise enough for this function.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testautomation_math.c b/test/testautomation_math.c
index 20628e5..ad8d70f 100644
--- a/test/testautomation_math.c
+++ b/test/testautomation_math.c
@@ -1268,7 +1268,7 @@ log10_regularCases(void *args)
         { 789.123, 2.8971447016351858927407647570362314581871032714843750 },
         { 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 */