SDL: testautomation: Don't expect exp to yield exact floating point results (1ad91)

From 1ad917e2f666d5edae0754f5c279a4d513c0438f Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Mon, 29 Jan 2024 18:32:51 +0000
Subject: [PATCH] testautomation: Don't expect exp to yield exact floating
 point results

In the Steam Runtime 1 'scout' environment, when compiling for i386
using the default gcc-4.6, Exp(34.125) matches the desired value to the
precision shown in the log (6 decimal places) but is not an exact match
for the desired value.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit f73abd49c3fcba66e434d43c321c4b7035a933c4)
---
 test/testautomation_math.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testautomation_math.c b/test/testautomation_math.c
index ef9b40b3d32d..f2024fd45832 100644
--- a/test/testautomation_math.c
+++ b/test/testautomation_math.c
@@ -1114,7 +1114,7 @@ exp_regularCases(void *args)
         { 112.89, 10653788283588960962604279261058893737879589093376.0 },
         { 539.483, 1970107755334319939701129934673541628417235942656909222826926175622435588279443011110464355295725187195188154768877850257012251677751742837992843520967922303961718983154427294786640886286983037548604937796221048661733679844353544028160.0 },
     };
-    return helper_dtod("Exp", SDL_exp, regular_cases, SDL_arraysize(regular_cases));
+    return helper_dtod_inexact("Exp", SDL_exp, regular_cases, SDL_arraysize(regular_cases));
 }
 
 /* SDL_log tests functions */