add missing float.h macros
authorRich Felker <dalias@aerifal.cx>
Sun, 10 Apr 2011 22:27:47 +0000 (18:27 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 10 Apr 2011 22:27:47 +0000 (18:27 -0400)
actually FLT_ROUNDS needs to expand to a static inline function that
obtains the current rounding mode and returns it, but that will be
added later with fenv.h stuff.

arch/i386/bits/float.h
arch/x86_64/bits/float.h

index 162b3e4..044b516 100644 (file)
@@ -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
index 162b3e4..a58424e 100644 (file)
@@ -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