diff options
Diffstat (limited to 'sys/arch/powerpc/include/limits.h')
-rw-r--r-- | sys/arch/powerpc/include/limits.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/limits.h b/sys/arch/powerpc/include/limits.h index 4ced24995c8..5a56779647c 100644 --- a/sys/arch/powerpc/include/limits.h +++ b/sys/arch/powerpc/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.3 1997/07/24 14:48:54 deraadt Exp $ */ +/* $OpenBSD: limits.h,v 1.4 1997/10/13 10:53:46 pefo Exp $ */ /* $NetBSD: limits.h,v 1.1 1996/09/30 16:34:28 ws Exp $ */ /*- @@ -66,4 +66,16 @@ #endif /* !_POSIX_SOURCE && !_XOPEN_SOURCE */ #endif /* !_ANSI_SOURCE */ +#if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE) +#define LONG_BIT 32 +#define WORD_BIT 32 + +#define DBL_DIG 15 +#define DBL_MAX 1.797693134862316E+308 +#define DBL_MIN 2.225073858507201E-308 + +#define FLT_DIG 6 +#define FLT_MAX 3.40282347E+38F +#define FLT_MIN 1.17549435E-38F +#endif #endif /* _MACHINE_LIMITS_H_ */ |