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.
This commit is contained in:
parent
28627a5a03
commit
e928275566
|
@ -33,7 +33,7 @@ union fshape {
|
||||||
// This is only necessary because the implementation of isnan only works
|
// This is only necessary because the implementation of isnan only works
|
||||||
// properly when long double == double.
|
// properly when long double == double.
|
||||||
// See: https://sourceware.org/ml/newlib/2014/msg00684.html
|
// See: https://sourceware.org/ml/newlib/2014/msg00684.html
|
||||||
#ifdef _LDBL_EQ_DOUBLE
|
#ifdef _LDBL_EQ_DBL
|
||||||
|
|
||||||
float
|
float
|
||||||
nexttowardf (float x, long double y)
|
nexttowardf (float x, long double y)
|
||||||
|
@ -75,4 +75,4 @@ nexttowardf (float x, long double y)
|
||||||
return ux.value;
|
return ux.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // _LDBL_EQ_DOUBLE
|
#endif // _LDBL_EQ_DBL
|
||||||
|
|
Loading…
Reference in New Issue