public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Use _LDBL_EQ_DBL in nexttowardf.c
@ 2018-05-07 16:22 Jeff Johnston
0 siblings, 0 replies; only message in thread
From: Jeff Johnston @ 2018-05-07 16:22 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e928275566ab8168c078eadee2043a002bd9352d
commit e928275566ab8168c078eadee2043a002bd9352d
Author: Jeff Johnston <jjohnstn@redhat.com>
Date: Mon May 7 12:22:12 2018 -0400
Use _LDBL_EQ_DBL in nexttowardf.c
2018-05-07 Tom de Vries <tom@codesourcery.com>
* libm/common/nexttowardf.c: Use _LDBL_EQ_DBL instead of
_LDBL_EQ_DOUBLE.
Diff:
---
newlib/libm/common/nexttowardf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/newlib/libm/common/nexttowardf.c b/newlib/libm/common/nexttowardf.c
index 6f47319..e2a1d90 100644
--- a/newlib/libm/common/nexttowardf.c
+++ b/newlib/libm/common/nexttowardf.c
@@ -33,7 +33,7 @@ union fshape {
// This is only necessary because the implementation of isnan only works
// properly when long double == double.
// See: https://sourceware.org/ml/newlib/2014/msg00684.html
-#ifdef _LDBL_EQ_DOUBLE
+#ifdef _LDBL_EQ_DBL
float
nexttowardf (float x, long double y)
@@ -75,4 +75,4 @@ nexttowardf (float x, long double y)
return ux.value;
}
-#endif // _LDBL_EQ_DOUBLE
+#endif // _LDBL_EQ_DBL
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-07 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07 16:22 [newlib-cygwin] Use _LDBL_EQ_DBL in nexttowardf.c Jeff Johnston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).