From 25a827e8ad2e40d8dc3f35b56adf081679367ac5 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Nov 2023 11:27:21 -0500 Subject: use __builtin_inff() for the time being --- math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math.h b/math.h index 7e69ae0..41594a1 100644 --- a/math.h +++ b/math.h @@ -101,7 +101,7 @@ SOFTWARE. /* ./src/math/HUGE_VALL.c */ #define HUGE_VALL 0.0 /* TODO: massive positive long double */ /* ./src/math/INFINITY.c */ -#define INFINITY 9e999 /* TODO: positive or unsigned float infinity */ +#define INFINITY __builtin_inff() /* ./src/math/MATH_ERREXCEPT.c */ #define MATH_ERREXCEPT 2 /* ./src/math/MATH_ERRNO.c */ -- cgit v1.2.1