summaryrefslogtreecommitdiff
path: root/float.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-21 20:34:45 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-21 20:34:45 -0400
commit30ae061876cf13c3ddf16548ff892651437857d1 (patch)
tree31164fd27d1cac365c32076710211de59f2504e0 /float.h
parent34c19c4eef22aad0d10ed35ce243af3e26f83b5f (diff)
cleanup and update
Diffstat (limited to 'float.h')
-rw-r--r--float.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/float.h b/float.h
index 1b78416..fb7e1f2 100644
--- a/float.h
+++ b/float.h
@@ -46,7 +46,7 @@ SOFTWARE.
#define FLT_MIN_10_EXP (-37)
#define FLT_MIN_EXP (-125)
#define FLT_RADIX (2)
-#define FLT_ROUNDS fegetround()
+#define FLT_ROUNDS (fegetround())
#define LDBL_DIG (15)
#define LDBL_EPSILON (2.220446E-16)
#define LDBL_MANT_DIG (53)
@@ -57,7 +57,7 @@ SOFTWARE.
#define LDBL_MIN_10_EXP (-37)
#define LDBL_MIN_EXP (-1021)
-#if (defined __STDC_VERSION__ && 199901 <= __STDC_VERSION__)
+#if (defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__)
#define DECIMAL_DIG (10)
#define FLT_EVAL_METHOD (-1)
#endif