diff options
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/_types.h | 2 | ||||
-rw-r--r-- | sys/i386/include/float.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/include/_types.h b/sys/i386/include/_types.h index 2b61c4f..847d9fd 100644 --- a/sys/i386/include/_types.h +++ b/sys/i386/include/_types.h @@ -69,6 +69,8 @@ typedef unsigned long long __uint64_t; */ typedef unsigned long __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/i386/include/float.h b/sys/i386/include/float.h index 9a075ba..2cbdcaf 100644 --- a/sys/i386/include/float.h +++ b/sys/i386/include/float.h @@ -39,6 +39,8 @@ #define FLT_RADIX 2 /* b */ #define FLT_ROUNDS 1 /* FP addition rounds to nearest */ +#define FLT_EVAL_METHOD (-1) /* i387 semantics are...interesting */ +#define DECIMAL_DIG 21 /* max precision in decimal digits */ #define FLT_MANT_DIG 24 /* p */ #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ |