diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-12-16 23:41:00 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-12-16 23:41:00 +0000 |
commit | 3fdf17926c09fd403dd499005650e148774f1018 (patch) | |
tree | 35d77595a6a88399449d60caa766d9b06de4beab /ChangeLog | |
parent | ea1bd74defcf9d5291d14972e63105168ca9eb4f (diff) | |
download | glibc-3fdf17926c09fd403dd499005650e148774f1018.tar.gz glibc-3fdf17926c09fd403dd499005650e148774f1018.tar.xz glibc-3fdf17926c09fd403dd499005650e148774f1018.zip |
Document sNaN argument error handling.
TS 18661-1 says that "Whether a signaling NaN input causes a domain error is implementation-defined.". Considering it a domain error would (given glibc's math_errhandling definition) mean setting errno to EDOM. glibc consistently does not set errno for sNaN inputs (unless it does so for qNaN as well, i.e. iseqsig), so this patch adds documentation of the implementation-defined choice not to treat this case as a domain error. * manual/arith.texi (Math Error Reporting): Document that sNaN arguments are not considered domain errors.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 1d93077dcd..51867920fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-12-16 Joseph Myers <joseph@codesourcery.com> + + * manual/arith.texi (Math Error Reporting): Document that sNaN + arguments are not considered domain errors. + 2016-12-16 Zack Weinberg <zackw@panix.com> Florian Weimer <fweimer@redhat.com> Nick Mathewson <nickm@torproject.org> |