about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-08-05 18:15:00 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-08-05 18:15:00 +0000
commit89a12e6f8e0a9776ea52389c58bf77aba87fd243 (patch)
treeb7b4d9ca8a83d44056ad39fd5d1746b7654b9186 /ChangeLog
parentf0e3925bf3b8df6940c3346db17e42615979d458 (diff)
downloadglibc-89a12e6f8e0a9776ea52389c58bf77aba87fd243.tar.gz
glibc-89a12e6f8e0a9776ea52389c58bf77aba87fd243.tar.xz
glibc-89a12e6f8e0a9776ea52389c58bf77aba87fd243.zip
Fix math.h comment about bits/mathdef.h.
math.h has a comment about definitions from <bits/mathdef.h>.  This
comment is in the wrong place in math.h, far below the inclusion of
<bits/mathdef.h>.  It was originally above the inclusion, but the
inclusion was moved by

1998-11-05  Ulrich Drepper  <drepper@cygnus.com>

        * math/math.h: Unconditionally include bits/mathdef.h.  Declare
        long double functions only if __NO_LONG_DOUBLE_MATH is not
        defined.
        [...]

without moving the comment.  Furthermore, the comment refers
incorrectly to FLT_EVAL_METHOD and DECIMAL_DIG, which are actually
<float.h> macros, and INFINITY, which is in <bits/inf.h>.

This patch moves the comment back above the include it refers to and
removes the description of macros not defined by the header.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

	* math/math.h: Move comment about <bits/mathdef.h> definitions
	above inclusion of <bits/mathdef.h>.  Do not mention
	FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 205da062e6..2026447e98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-08-05  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/math.h: Move comment about <bits/mathdef.h> definitions
+	above inclusion of <bits/mathdef.h>.  Do not mention
+	FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
+
 2016-08-05  Torvald Riegel  <triegel@redhat.com>
 
 	* include/atomic.h (atomic_exchange_relaxed): New.