From 24a7308c87666fc2ad361e482f472951b0a8e1ad Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 17 Oct 2024 17:05:50 -0700 Subject: [PATCH] Switch test to use `__floatdidf` The `__floatdidf` builtin uses a more conventional type--`double`--which means we don't have to guess at the representation of `tf_float`. --- tests/general/{builtin-floatditf.c => builtin-floatdidf.c} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tests/general/{builtin-floatditf.c => builtin-floatdidf.c} (87%) diff --git a/tests/general/builtin-floatditf.c b/tests/general/builtin-floatdidf.c similarity index 87% rename from tests/general/builtin-floatditf.c rename to tests/general/builtin-floatdidf.c index afbf06d..ddfd5c9 100644 --- a/tests/general/builtin-floatditf.c +++ b/tests/general/builtin-floatdidf.c @@ -4,7 +4,7 @@ #include int main() { - tf_float f = __floatditf(0); + double f = __floatdidf(0); assert(f == 0.0); return 0; }