aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-11 15:44:31 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-11 15:44:31 +0000
commitf1d73d30dfe6b5ebec071542835f1b6c2b2f8fcf (patch)
treeb64511b755c6c158911c9f19bce9e7ffabc80edc /ports/sysdeps
parent94aca5e740d6101f91002d027776252340f6abef (diff)
downloadglibc-f1d73d30dfe6b5ebec071542835f1b6c2b2f8fcf.tar
glibc-f1d73d30dfe6b5ebec071542835f1b6c2b2f8fcf.tar.gz
glibc-f1d73d30dfe6b5ebec071542835f1b6c2b2f8fcf.tar.bz2
glibc-f1d73d30dfe6b5ebec071542835f1b6c2b2f8fcf.zip
Add exception information to math-tests.h and use it in libm-test.inc.
Diffstat (limited to 'ports/sysdeps')
-rw-r--r--ports/sysdeps/arm/math-tests.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ports/sysdeps/arm/math-tests.h b/ports/sysdeps/arm/math-tests.h
index 6b8e089d59..6fd17edca2 100644
--- a/ports/sysdeps/arm/math-tests.h
+++ b/ports/sysdeps/arm/math-tests.h
@@ -18,11 +18,15 @@
/* On systems with VFP support, but where glibc is built for
soft-float, the libgcc functions used in libc and libm do not
- support rounding modes, although fesetround succeeds. */
+ support rounding modes, although fesetround succeeds, and do not
+ support exceptions. */
#ifdef __SOFTFP__
# define ROUNDING_TESTS_float(MODE) ((MODE) == FE_TONEAREST)
# define ROUNDING_TESTS_double(MODE) ((MODE) == FE_TONEAREST)
# define ROUNDING_TESTS_long_double(MODE) ((MODE) == FE_TONEAREST)
+# define EXCEPTION_TESTS_float 0
+# define EXCEPTION_TESTS_double 0
+# define EXCEPTION_TESTS_long_double 0
#endif
#include_next <math-tests.h>