summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math/INFINITY.c2
-rw-r--r--src/math/NAN.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math/INFINITY.c b/src/math/INFINITY.c
index 64e3ac95..e1576810 100644
--- a/src/math/INFINITY.c
+++ b/src/math/INFINITY.c
@@ -1,5 +1,5 @@
#include <math.h>
-#define INFINITY /* TODO: positive or unsigned float infinity */
+#define INFINITY 9e300 /* TODO: proper value */
/*
STDC(199901)
diff --git a/src/math/NAN.c b/src/math/NAN.c
index 6c5d778f..58ff6aca 100644
--- a/src/math/NAN.c
+++ b/src/math/NAN.c
@@ -1,5 +1,5 @@
#include <math.h>
-#define NAN /* TODO: float quiet NaN */
+#define NAN 0.0 /* TODO: float quiet NaN */
/*
STDC(199901)