summaryrefslogtreecommitdiff
path: root/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'math.h')
-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 */