-/* $OpenBSD: math.h,v 1.16 2008/07/16 15:01:19 martynas Exp $ */
+/* $OpenBSD: math.h,v 1.17 2008/07/21 20:50:54 martynas Exp $ */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
#ifndef _MATH_H_
#define _MATH_H_
+#include <sys/_types.h>
#include <sys/cdefs.h>
/*
* C99
*/
-/* XXX just appease the committee for now, needs proper defs... */
-
-typedef float float_t;
-typedef double double_t;
-#define FLT_EVAL_METHOD (-1)
+typedef __double_t double_t;
+typedef __float_t float_t;
/*
* XOPEN/SVID
-/* $OpenBSD: _types.h,v 1.9 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.10 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* Standard system types */
typedef int __clock_t;
typedef int __clockid_t;
+typedef double __double_t;
+typedef float __float_t;
typedef long __off_t;
typedef long __ptrdiff_t;
typedef unsigned long __size_t;
-/* $OpenBSD: float.h,v 1.6 2003/06/02 23:27:43 millert Exp $ */
+/* $OpenBSD: float.h,v 1.7 2008/07/21 20:50:54 martynas Exp $ */
/* $NetBSD: float.h,v 1.4 1995/06/20 20:45:22 jtc Exp $ */
/*
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $OpenBSD: _types.h,v 1.4 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.5 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.2 2006/10/01 18:16:54 kettenis Exp $ */
+/* $OpenBSD: float.h,v 1.3 2008/07/21 20:50:54 martynas Exp $ */
/* $NetBSD: float.h,v 1.8 1995/06/20 20:45:37 jtc Exp $ */
/*
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $OpenBSD: _types.h,v 1.5 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.6 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.2 2004/05/19 03:17:07 drahn Exp $ */
+/* $OpenBSD: float.h,v 1.3 2008/07/21 20:50:54 martynas Exp $ */
/* $NetBSD: float.h,v 1.1 2001/01/10 19:02:06 bjh21 Exp $ */
/*
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-7F /* b**(1-p) */
-/* $OpenBSD: _types.h,v 1.9 2008/04/27 14:36:38 kettenis Exp $ */
+/* $OpenBSD: _types.h,v 1.10 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.8 2007/07/16 21:20:03 jason Exp $ */
+/* $OpenBSD: float.h,v 1.9 2008/07/21 20:50:54 martynas Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
#define FLT_RADIX 2
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24
#define FLT_EPSILON 1.19209290E-07F
-/* $OpenBSD: _types.h,v 1.3 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.4 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
+/* $OpenBSD: float.h,v 1.2 2008/07/21 20:50:54 martynas Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
#define FLT_RADIX 2
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24
#define FLT_EPSILON 1.19209290E-07F
-/* $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
/* 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;
-/* $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 $ */
/*
#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) */
-/* $OpenBSD: _types.h,v 1.6 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.7 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.5 2003/06/02 23:27:48 millert Exp $ */
+/* $OpenBSD: float.h,v 1.6 2008/07/21 20:50:54 martynas Exp $ */
/* $NetBSD: float.h,v 1.10 1995/06/20 20:45:41 jtc Exp $ */
/*
#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) */
-/* $OpenBSD: _types.h,v 1.4 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.5 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
+/* $OpenBSD: float.h,v 1.2 2008/07/21 20:50:54 martynas Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
#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) */
-/* $OpenBSD: _types.h,v 1.4 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.5 2008/07/21 20:50:54 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.3 2005/08/07 07:29:44 miod Exp $ */
+/* $OpenBSD: float.h,v 1.4 2008/07/21 20:50:54 martynas Exp $ */
/*
* Copyright (c) 1989, 1993
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $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
/* 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;
-/* $OpenBSD: float.h,v 1.7 2003/06/02 23:27:53 millert Exp $ */
+/* $OpenBSD: float.h,v 1.8 2008/07/21 20:50:55 martynas Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $OpenBSD: _types.h,v 1.5 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.6 2008/07/21 20:50:55 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.1.1.1 2006/10/06 21:02:55 miod Exp $ */
+/* $OpenBSD: float.h,v 1.2 2008/07/21 20:50:55 martynas Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $OpenBSD: _types.h,v 1.8 2007/05/16 17:27:30 art Exp $ */
+/* $OpenBSD: _types.h,v 1.9 2008/07/21 20:50:55 martynas Exp $ */
/*-
* Copyright (c) 1990, 1993
/* 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;
-/* $OpenBSD: float.h,v 1.5 2003/06/02 23:27:54 millert Exp $ */
+/* $OpenBSD: float.h,v 1.6 2008/07/21 20:50:55 martynas Exp $ */
/* $NetBSD: float.h,v 1.6 1997/07/18 05:11:52 thorpej Exp $ */
/*
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $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
/* 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;
-/* $OpenBSD: float.h,v 1.4 2003/06/02 23:27:56 millert Exp $ */
+/* $OpenBSD: float.h,v 1.5 2008/07/21 20:50:55 martynas Exp $ */
/* $NetBSD: float.h,v 1.3 2001/09/21 20:48:02 eeh Exp $ */
/*
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
+#define FLT_EVAL_METHOD 0 /* no promotions */
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
-/* $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
/* 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;
-/* $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 $ */
/*
#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) */