]> git.ipfire.org Git - thirdparty/glibc.git/commit - math/complex.h
Define CMPLX macros for more _FloatN, _FloatNx types.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 31 Oct 2017 17:04:30 +0000 (17:04 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 31 Oct 2017 17:04:30 +0000 (17:04 +0000)
commit43e662837ca64a5141a5ebbb2d6f9d15513524d7
treeeebde99125f8867a7ff3bf4ac0173068392124be
parent540af6e2f172a016719d3970433b9f6aeb0097f6
Define CMPLX macros for more _FloatN, _FloatNx types.

Continuing the preparation for additional _FloatN / _FloatNx type
support, this patch defines CMPLX* macros for all such types, as
already done for _Float128.

Tested for x86_64.

* math/complex.h
[__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
New macro.
[__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
Likewise.
[__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
Likewise.
[__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
(CMPLXF32X): Likewise.
[__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
(CMPLXF64X): Likewise.
[__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
(CMPLXF128X): Likewise.
ChangeLog
math/complex.h