From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31983 invoked by alias); 7 May 2018 16:22:55 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 31919 invoked by uid 447); 7 May 2018 16:22:54 -0000 Date: Mon, 07 May 2018 16:22:00 -0000 Message-ID: <20180507162254.31916.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jeff Johnston To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Use _LDBL_EQ_DBL in nexttowardf.c X-Act-Checkin: newlib-cygwin X-Git-Author: Jeff Johnston X-Git-Refname: refs/heads/master X-Git-Oldrev: 28627a5a032e65712343bd2a37e67382e28fad7f X-Git-Newrev: e928275566ab8168c078eadee2043a002bd9352d X-SW-Source: 2018-q2/txt/msg00003.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e928275566ab8168c078eadee2043a002bd9352d commit e928275566ab8168c078eadee2043a002bd9352d Author: Jeff Johnston Date: Mon May 7 12:22:12 2018 -0400 Use _LDBL_EQ_DBL in nexttowardf.c 2018-05-07 Tom de Vries * 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