aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-08-02 18:34:57 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-08-08 08:10:59 -0300
commit78f01a5823e6c0e11a24fff3aa07c9024a29118c (patch)
treec6d37c66e154153cd0c74acbf1751a62b9265214 /math
parent6b594432c8ac46e71686ea21fad30d1c3f79e65a (diff)
downloadarm-optimized-routines-78f01a5823e6c0e11a24fff3aa07c9024a29118c.tar.gz
Do not return failure if MPFR is not supported
It avoids the 'make check' to abort when building on architectures that has LDBL_MANT_DIG == DBL_MANT_DIG without the mpfr installed (arm cross-compiling for instance).
Diffstat (limited to 'math')
-rw-r--r--math/test/ulp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/test/ulp.c b/math/test/ulp.c
index 8de6e5b..8782fb0 100644
--- a/math/test/ulp.c
+++ b/math/test/ulp.c
@@ -704,7 +704,7 @@ main (int argc, char *argv[])
if (!USE_MPFR && conf.mpfr)
{
puts ("mpfr is not available.");
- return 1;
+ return 0;
}
argc--;
argv++;