summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/_types.h2
-rw-r--r--sys/powerpc/include/float.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/include/_types.h b/sys/powerpc/include/_types.h
index 7b6e9e3..5374079 100644
--- a/sys/powerpc/include/_types.h
+++ b/sys/powerpc/include/_types.h
@@ -69,6 +69,8 @@ typedef unsigned long long __uint64_t;
*/
typedef __uint32_t __clock_t; /* clock()... */
typedef __int32_t __critical_t;
+typedef double __double_t;
+typedef double __float_t;
typedef __int32_t __intfptr_t;
typedef __int64_t __intmax_t;
typedef __int32_t __intptr_t;
diff --git a/sys/powerpc/include/float.h b/sys/powerpc/include/float.h
index 95df5f4..9096b1d 100644
--- a/sys/powerpc/include/float.h
+++ b/sys/powerpc/include/float.h
@@ -40,6 +40,8 @@
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS 1 /* FP addition rounds to nearest */
+#define FLT_EVAL_METHOD 1 /* operands promoted to double */
+#define DECIMAL_DIG 35 /* max precision in decimal digits */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
OpenPOWER on IntegriCloud