Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/libm/common/sl_finite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/common/sl_finite.c b/newlib/libm/common/sl_finite.c
index 0c27b4fae..9ec629018 100644
--- a/newlib/libm/common/sl_finite.c
+++ b/newlib/libm/common/sl_finite.c
@@ -19,7 +19,7 @@ finitel (long double x)
Some architectures for example have an 80-bit long double whereas
others use 128-bits. We use macros and comiler builtin functions
to avoid specific knowledge of the long double format. */
- return __builtin_isinf_sign (x) == 0;
+ return __builtin_isfinite (x);
#endif
}