llvm-project/libcxx/test/std/numerics/bit
Martin Storsjö a03e17d4d9 [libcxx] [test] Generalize the conditions for testing bitcasts between long double, double and int128
MSVC targets also have a 64 bit long double, as do MinGW targets on ARM.
This hasn't been noticed in CI because the MSVC configurations there run
with _LIBCPP_HAS_NO_INT128 defined.

This avoids assuming that either __int128_t or double is equal in size to
long double. i386 MinGW targets have sizeof(long double) == 10, which
doesn't match any of the tested types.

Differential Revision: https://reviews.llvm.org/D111671
2021-10-13 22:55:01 +03:00
..
bit.cast [libcxx] [test] Generalize the conditions for testing bitcasts between long double, double and int128 2021-10-13 22:55:01 +03:00
bit.endian [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
bit.pow.two [libc++] Some fixes to the <bit> utilities. 2021-05-18 19:56:30 -04:00
bitops.count [libc++] Some fixes to the <bit> utilities. 2021-05-18 19:56:30 -04:00
bitops.rot [libc++] Some fixes to the <bit> utilities. 2021-05-18 19:56:30 -04:00