diff options
author | 2013-07-03 04:46:36 +0000 | |
---|---|---|
committer | 2013-07-03 04:46:36 +0000 | |
commit | 38ffb6671a42c58f11058f1570756a541cabcd23 (patch) | |
tree | 5c316fbedc8b3c7a0d1e6dc1ee18f4294e2058ae /lib/libc/gen/isnormal.c | |
parent | cpio and ustar formats store times in octal fields that are 11 characters (diff) | |
download | wireguard-openbsd-38ffb6671a42c58f11058f1570756a541cabcd23.tar.xz wireguard-openbsd-38ffb6671a42c58f11058f1570756a541cabcd23.zip |
test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.
-> test becomes meaningful on vax
No actual change, no bump
okay martynas@
Diffstat (limited to 'lib/libc/gen/isnormal.c')
-rw-r--r-- | lib/libc/gen/isnormal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/isnormal.c b/lib/libc/gen/isnormal.c index 13d04f2a1be..5276fb08833 100644 --- a/lib/libc/gen/isnormal.c +++ b/lib/libc/gen/isnormal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isnormal.c,v 1.7 2013/03/28 18:09:38 martynas Exp $ */ +/* $OpenBSD: isnormal.c,v 1.8 2013/07/03 04:46:36 espie Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -36,6 +36,6 @@ __isnormalf(float f) return (p->sng_exp != 0 && p->sng_exp != SNG_EXP_INFNAN); } -#if LDBL_MANT_DIG == 53 +#if LDBL_MANT_DIG == DBL_MANT_DIG __strong_alias(__isnormall, __isnormal); -#endif /* LDBL_MANT_DIG == 53 */ +#endif /* LDBL_MANT_DIG == DBL_MANT_DIG */ |