summaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2003-02-08 20:37:55 +0000
committerMike Barcroft <mike@FreeBSD.org>2003-02-08 20:37:55 +0000
commit8cf5ed5125ca8f57fa6f27892f3fbda25a52d354 (patch)
tree5fa8c1927e480809720c766a3f48569e33c80af9 /sys/alpha/include
parent856417ebfd05b1330ae28035e7582e0b543b7619 (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/_types.h2
-rw-r--r--sys/alpha/include/float.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/alpha/include/_types.h b/sys/alpha/include/_types.h
index 731306d29714..01ec08e31ef9 100644
--- a/sys/alpha/include/_types.h
+++ b/sys/alpha/include/_types.h
@@ -56,6 +56,8 @@ typedef unsigned long __uint64_t;
*/
typedef __int32_t __clock_t; /* clock()... */
typedef __int64_t __critical_t;
+typedef double __double_t;
+typedef float __float_t;
typedef __int64_t __intfptr_t;
typedef __int64_t __intmax_t;
typedef __int64_t __intptr_t;
diff --git a/sys/alpha/include/float.h b/sys/alpha/include/float.h
index 4d72b0e0605d..9cb5f9ab1791 100644
--- a/sys/alpha/include/float.h
+++ b/sys/alpha/include/float.h
@@ -45,6 +45,8 @@ __END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
+#define DECIMAL_DIG 17 /* max precision in decimal digits */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */