diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 16:20:17 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 16:20:17 -0400 |
commit | f34eead6e1e962aff8603104debd57b92fa2187d (patch) | |
tree | 4f3f07c06b4d936cb08537c8989d5ba47fb6c8a1 | |
parent | 90e6d78377dcb8e7e244bfb0ac3f18509be8396c (diff) |
add placeholder value
-rw-r--r-- | src/math/INFINITY.c | 2 | ||||
-rw-r--r-- | src/math/NAN.c | 2 |
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) |