aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/include/float.h
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2008-05-03 21:04:21 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2008-05-03 21:04:21 +0000
commit956bb0e01ea7a15a16fc0d0039ecce4e85f11473 (patch)
tree67cf387ca50b7f5d140f6c017ab1d875007a9b91 /sys/mips/include/float.h
parent430f2c87214700ba8711ac0ca65701bf693c8ce8 (diff)
Notes
Diffstat (limited to 'sys/mips/include/float.h')
-rw-r--r--sys/mips/include/float.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/mips/include/float.h b/sys/mips/include/float.h
index 407945d86bbb..750feb0886f7 100644
--- a/sys/mips/include/float.h
+++ b/sys/mips/include/float.h
@@ -47,6 +47,12 @@ __END_DECLS
#else
#define FLT_ROUNDS __flt_rounds() /* FP addition rounds to nearest */
#endif
+/*
+ * XXXMIPS: MIPS32 has both float and double type, so set FLT_EVAL_METHOD
+ * to 0. Check it for 64-bits systems.
+ */
+#define FLT_EVAL_METHOD 0
+#define DECIMAL_DIG 17
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */