diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2018-05-07 12:22:12 -0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2018-05-07 12:22:12 -0400 |
commit | e928275566ab8168c078eadee2043a002bd9352d (patch) | |
tree | 161e4c1a0d9ca95e95d8ff4f70740f6db87d2470 | |
parent | 28627a5a032e65712343bd2a37e67382e28fad7f (diff) | |
download | cygnal-e928275566ab8168c078eadee2043a002bd9352d.tar.gz cygnal-e928275566ab8168c078eadee2043a002bd9352d.tar.bz2 cygnal-e928275566ab8168c078eadee2043a002bd9352d.zip |
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.
-rw-r--r-- | newlib/libm/common/nexttowardf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libm/common/nexttowardf.c b/newlib/libm/common/nexttowardf.c index 6f473190f..e2a1d90e6 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 |