diff options
author | das <das@FreeBSD.org> | 2004-04-25 02:36:29 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2004-04-25 02:36:29 +0000 |
commit | 0d58ef0153a10f2eaf1628fa7acf553e2c90742a (patch) | |
tree | 308e2e55aa2f15d001563a139a0f3b3c45777f3e /sys/alpha | |
parent | d24349d79f5419c746158b6eea486a85194be79b (diff) | |
download | FreeBSD-src-0d58ef0153a10f2eaf1628fa7acf553e2c90742a.zip FreeBSD-src-0d58ef0153a10f2eaf1628fa7acf553e2c90742a.tar.gz |
Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation
environments.
PR: 63935
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/float.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/include/float.h b/sys/alpha/include/float.h index 3bda0f6..b2bfa11 100644 --- a/sys/alpha/include/float.h +++ b/sys/alpha/include/float.h @@ -41,8 +41,10 @@ __END_DECLS #define FLT_RADIX 2 /* b */ #define FLT_ROUNDS __flt_rounds() +#if __ISO_C_VISIBLE >= 1999 #define FLT_EVAL_METHOD 0 /* no promotions */ #define DECIMAL_DIG 17 /* max precision in decimal digits */ +#endif #define FLT_MANT_DIG 24 /* p */ #define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ |