summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/i386/bits/float.h3
-rw-r--r--arch/x86_64/bits/float.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/i386/bits/float.h b/arch/i386/bits/float.h
index 162b3e46..044b516b 100644
--- a/arch/i386/bits/float.h
+++ b/arch/i386/bits/float.h
@@ -1,3 +1,6 @@
+#define FLT_ROUNDS 1
+#define FLT_EVAL_METHOD 2
+
#define LDBL_MIN 3.3621031431120935063e-4932L
#define LDBL_MAX 1.1897314953572317650e+4932L
#define LDBL_EPSILON 1.0842021724855044340e-19L
diff --git a/arch/x86_64/bits/float.h b/arch/x86_64/bits/float.h
index 162b3e46..a58424e0 100644
--- a/arch/x86_64/bits/float.h
+++ b/arch/x86_64/bits/float.h
@@ -1,3 +1,6 @@
+#define FLT_ROUNDS 1
+#define FLT_EVAL_METHOD 1
+
#define LDBL_MIN 3.3621031431120935063e-4932L
#define LDBL_MAX 1.1897314953572317650e+4932L
#define LDBL_EPSILON 1.0842021724855044340e-19L