summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/_types.h4
-rw-r--r--sys/arch/i386/include/float.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/i386/include/_types.h b/sys/arch/i386/include/_types.h
index 81481c9162f..84998e0556d 100644
--- a/sys/arch/i386/include/_types.h
+++ b/sys/arch/i386/include/_types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: _types.h,v 1.8 2008/05/07 20:42:02 kettenis Exp $ */
+/* $OpenBSD: _types.h,v 1.9 2008/07/21 20:50:54 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 long double __double_t;
+typedef long double __float_t;
typedef long long __off_t;
typedef long __ptrdiff_t;
typedef unsigned long __size_t;
diff --git a/sys/arch/i386/include/float.h b/sys/arch/i386/include/float.h
index fd74a076d5d..e2f99895e0c 100644
--- a/sys/arch/i386/include/float.h
+++ b/sys/arch/i386/include/float.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: float.h,v 1.6 2006/10/01 18:14:40 kettenis Exp $ */
+/* $OpenBSD: float.h,v 1.7 2008/07/21 20:50:54 martynas Exp $ */
/* $NetBSD: float.h,v 1.8 1995/06/20 20:45:37 jtc Exp $ */
/*
@@ -43,6 +43,7 @@ __END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 2 /* long double */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */