diff options
author | marcel <marcel@FreeBSD.org> | 2008-11-16 19:20:29 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-11-16 19:20:29 +0000 |
commit | 39fb5ed1d3fd48f48e6c2a161f9058e1cde867a7 (patch) | |
tree | b21a7c41dbe394fbe93b13e977c83bc96ad9ddcd /sys/powerpc | |
parent | bcabecebeef4d4cffc62cddef11ec504a65d0fe6 (diff) | |
download | FreeBSD-src-39fb5ed1d3fd48f48e6c2a161f9058e1cde867a7.zip FreeBSD-src-39fb5ed1d3fd48f48e6c2a161f9058e1cde867a7.tar.gz |
Define LDBL_EPSILON, LDBL_MAX and LDBL_MIN as long double constants.
Submitted by: Andreas Tobler <andreast-list@fgznet.ch>
Reviewed by: das@
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/float.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/include/float.h b/sys/powerpc/include/float.h index d20736d..369d0a0 100644 --- a/sys/powerpc/include/float.h +++ b/sys/powerpc/include/float.h @@ -72,13 +72,13 @@ __END_DECLS #define DBL_MAX_10_EXP 308 #define LDBL_MANT_DIG DBL_MANT_DIG -#define LDBL_EPSILON DBL_EPSILON +#define LDBL_EPSILON (long double)DBL_EPSILON #define LDBL_DIG DBL_DIG #define LDBL_MIN_EXP DBL_MIN_EXP -#define LDBL_MIN DBL_MIN +#define LDBL_MIN (long double)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 (long double)DBL_MAX #define LDBL_MAX_10_EXP DBL_MAX_10_EXP #endif /* _MACHINE_FLOAT_H_ */ |