From 38ffb6671a42c58f11058f1570756a541cabcd23 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 3 Jul 2013 04:46:36 +0000 Subject: test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53. -> test becomes meaningful on vax No actual change, no bump okay martynas@ --- lib/libc/gen/isnormal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/gen/isnormal.c') 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 * @@ -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 */ -- cgit v1.2.3-59-g8ed1b