[libcxx-commits] [PATCH] D75960: [libc++] Implement C++20's P0476r2: std::bit_cast

Erik Pilkington via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 17 14:35:20 PDT 2020


erik.pilkington added inline comments.


================
Comment at: libcxx/test/std/numerics/bit/bit.cast/bit_cast.pass.cpp:196
+    };
+    for (long double d : long_doubles) {
+        test_nested_roundtrip(d);
----------------
erik.pilkington wrote:
> ldionne wrote:
> > @erik.pilkington All the tests for `long double` are failing (at runtime) -- any idea why? Did you implement support for long double in `__builtin_bit_cast`?
> Eek, it looks like this is asserting at compile time too. Let me take a closer look.
I put a patch up to fix this here: https://reviews.llvm.org/D76323


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75960/new/

https://reviews.llvm.org/D75960





More information about the libcxx-commits mailing list