]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Minor simd_math cleanups
authorMatthias Kretz <m.kretz@gsi.de>
Thu, 24 Jun 2021 13:20:15 +0000 (14:20 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 24 Jun 2021 13:33:20 +0000 (14:33 +0100)
commit62a989ea66e8b1d4c3ed4218c5115e050072711a
tree675a74437e6fa3c775ee3891064dd07fad83daa7
parentdd1c7792d6ff70e830e0ff8028bbac8379f5a79c
libstdc++: Minor simd_math cleanups

Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
libstdc++-v3/ChangeLog:

* include/experimental/bits/simd_math.h: Undefine internal
macros after use.
(frexp): Move #if to a more sensible position and reformat
preceding code.
(logb): Call _SimdImpl::_S_logb for fixed_size instead of
duplicating the code here.
(modf): Simplify condition.
libstdc++-v3/include/experimental/bits/simd_math.h