From 2a541e77be98a92b5f93a7deb6b35582b44349a5 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 1 Oct 2006 18:16:55 +0000 Subject: Adjust for change of fpu control word. ok deraadt@ --- sys/arch/amd64/include/float.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'sys/arch/amd64/include') diff --git a/sys/arch/amd64/include/float.h b/sys/arch/amd64/include/float.h index 7c315a0e10d..c9e8d6a4893 100644 --- a/sys/arch/amd64/include/float.h +++ b/sys/arch/amd64/include/float.h @@ -1,4 +1,4 @@ -/* $OpenBSD: float.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */ +/* $OpenBSD: float.h,v 1.2 2006/10/01 18:16:54 kettenis Exp $ */ /* $NetBSD: float.h,v 1.8 1995/06/20 20:45:37 jtc Exp $ */ /* @@ -64,14 +64,14 @@ __END_DECLS #define DBL_MAX 1.7976931348623157E+308 #define DBL_MAX_10_EXP 308 -#define LDBL_MANT_DIG DBL_MANT_DIG -#define LDBL_EPSILON DBL_EPSILON -#define LDBL_DIG DBL_DIG -#define LDBL_MIN_EXP DBL_MIN_EXP -#define LDBL_MIN DBL_MIN -#define LDBL_MIN_10_EXP DBL_MIN_10_EXP -#define LDBL_MAX_EXP DBL_MAX_EXP -#define LDBL_MAX DBL_MAX -#define LDBL_MAX_10_EXP DBL_MAX_10_EXP +#define LDBL_MANT_DIG 64 +#define LDBL_EPSILON 1.08420217248550443401e-19L +#define LDBL_DIG 18 +#define LDBL_MIN_EXP (-16381) +#define LDBL_MIN 3.36210314311209350626e-4932L +#define LDBL_MIN_10_EXP (-4931) +#define LDBL_MAX_EXP 16384 +#define LDBL_MAX 1.18973149535723176502e+4932L +#define LDBL_MAX_10_EXP 4932 #endif /* _I386_FLOAT_H_ */ -- cgit v1.2.3