summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2023-11-14 11:27:21 -0500
committerJakob Kaivo <jkk@ung.org>2023-11-14 11:27:21 -0500
commit25a827e8ad2e40d8dc3f35b56adf081679367ac5 (patch)
tree2fab8aa6a54ea435d98b7e6a7d1bb3fc2800f24b
parentd29196a493b0d63ea543af2cab1db062ae39fce2 (diff)
use __builtin_inff() for the time being
-rw-r--r--math.h2
1 files changed, 1 insertions, 1 deletions
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 */