about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-01 17:03:58 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-01 17:03:58 +0000
commit2f1b212e54b280a2dc05b809922ae25d8071da74 (patch)
tree89555ddbe869dd5cb1472dce55049521382556e4 /ChangeLog
parent95b93c6e0d7bf0321f265cf6e85c7fb4417cbda6 (diff)
downloadglibc-2f1b212e54b280a2dc05b809922ae25d8071da74.tar.gz
glibc-2f1b212e54b280a2dc05b809922ae25d8071da74.tar.xz
glibc-2f1b212e54b280a2dc05b809922ae25d8071da74.zip
Clean up complex.h handling of float128.
This patch cleans up the way complex.h handles inclusion of
bits/cmathcalls.h for float128.  The inclusion was between those for
the types float and long double; the patch moves it after that for
long double, matching how bits/mathcalls.h and bits/math-finite.h
inclusions are ordered.  There is no need for the undefine and define
of _Mdouble_complex_ to be conditional, since __CFLOAT128 is always
defined by bits/floatn.h when _Float128 is supported, so the patch
removes the unnecessary conditionals.

Tested for x86_64.

	* math/complex.h
	[(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
	&& __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
	that for long double.  Do not condition define and undefine of
	_Mdouble_complex_ on [__CFLOAT128].
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d38060b89f..ddbe9222e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-11-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/complex.h
+	[(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
+	&& __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
+	that for long double.  Do not condition define and undefine of
+	_Mdouble_complex_ on [__CFLOAT128].
+
 2017-11-01  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead