diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-05-31 17:39:25 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-05-31 17:39:25 +0000 |
commit | 37fd7049a59a343c153dd4fd451e51dc143acfaf (patch) | |
tree | d07f147d05b1d09e1f40aae69bb39e2eb3a34640 /lib/libm | |
parent | 3d0d9a2135f7b041c1856f2be74679d309f0ba01 (diff) |
Revert previous. bluhm noted that it causes a regress failure.
Diffstat (limited to 'lib/libm')
-rw-r--r-- | lib/libm/src/s_lroundl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libm/src/s_lroundl.c b/lib/libm/src/s_lroundl.c index c101cd18df4..5cb4f4274c6 100644 --- a/lib/libm/src/s_lroundl.c +++ b/lib/libm/src/s_lroundl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_lroundl.c,v 1.4 2021/05/28 15:16:43 tb Exp $ */ +/* $OpenBSD: s_lroundl.c,v 1.5 2021/05/31 17:39:24 tb Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> @@ -47,9 +47,9 @@ * that everything is in range. At compile time, INRANGE(x) should reduce to * two floating-point comparisons in the former case, or TRUE otherwise. */ -static const type dtype_min = (type)DTYPE_MIN - 0.5; -static const type dtype_max = (type)DTYPE_MAX + 0.5; -#define INRANGE(x) (dtype_max - (type)DTYPE_MAX != 0.5 || \ +static const type dtype_min = DTYPE_MIN - 0.5; +static const type dtype_max = DTYPE_MAX + 0.5; +#define INRANGE(x) (dtype_max - DTYPE_MAX != 0.5 || \ ((x) > dtype_min && (x) < dtype_max)) dtype |