summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/include/_types.h4
-rw-r--r--sys/arch/vax/include/float.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/vax/include/_types.h b/sys/arch/vax/include/_types.h
index 88f19e3b5be..678bd907faf 100644
--- a/sys/arch/vax/include/_types.h
+++ b/sys/arch/vax/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.7 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.8 2008/07/21 20:50:55 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -93,6 +93,8 @@ typedef unsigned long __psize_t;
/* Standard system types */
typedef int __clock_t;
typedef int __clockid_t;
+typedef double __double_t;
+typedef float __float_t;
typedef long long __off_t;
typedef long __ptrdiff_t;
typedef unsigned long __size_t;
diff --git a/sys/arch/vax/include/float.h b/sys/arch/vax/include/float.h
index ffcf2df33ea..c9f76c10468 100644
--- a/sys/arch/vax/include/float.h
+++ b/sys/arch/vax/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.6 2003/06/02 23:27:57 millert Exp $ */
+/* $OpenBSD: float.h,v 1.7 2008/07/21 20:50:55 martynas Exp $ */
/* $NetBSD: float.h,v 1.5 1998/10/10 02:13:55 matt Exp $ */
/*
@@ -37,6 +37,7 @@
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS 1 /* FP addition rounds to nearest */
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-7F /* b**(1-p) */