aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2018-01-03 13:14:10 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2018-01-03 13:14:10 +0000
commit3c7d03129498e7426855b5d4cdd5b7109ecc2172 (patch)
treeec66bfb4d0b21311d263b2a1c4643d50d51975b3 /ChangeLog
parent7eff095459d5720642e0a8e6766852fe2fa65310 (diff)
downloadglibc-3c7d03129498e7426855b5d4cdd5b7109ecc2172.zip
glibc-3c7d03129498e7426855b5d4cdd5b7109ecc2172.tar.gz
glibc-3c7d03129498e7426855b5d4cdd5b7109ecc2172.tar.bz2
Improve math_errhandling
Currently math_errhandling is always set to MATH_ERRNO | MATH_ERREXCEPT even if -fno-math-errno is used. It is not defined at all when fast-math is used. Set it to 0 with fast-math - this is noncomforming but more useful than not define math_errhandling at all. Also take __NO_MATH_ERRNO__ into account and update comment. * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__. Add __NO_MATH_ERRNO__ check.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d87d799..68b8c93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
+ Add __NO_MATH_ERRNO__ check.
+
2018-01-02 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/mips32/libm-test-ulps: Update.