[libcxx-commits] [PATCH] D127002: [NFC][libcxx] Check def of __LONG_DOUBLE_128__

David Tenty via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jun 14 10:43:16 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG73c273c97a41: [NFC][libcxx] Check def of __LONG_DOUBLE_IEEE128__ (authored by daltenty).
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127002

Files:
  libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp


Index: libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp
===================================================================
--- libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp
+++ libcxx/test/std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp
@@ -8,8 +8,6 @@
 //
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 
-// XFAIL: LIBCXX-AIX-FIXME
-
 // <numeric>
 
 // template <class _Float>
@@ -95,7 +93,8 @@
     assert(d0 < d1);  // sanity checking
     assert(d1 < d2);  // sanity checking
 
-#if defined(__PPC__) && __LONG_DOUBLE_128__ && !(defined(__LONG_DOUBLE_IEEE128__) && __LONG_DOUBLE_IEEE128__)
+#if defined(__PPC__) && (defined(__LONG_DOUBLE_128__) && __LONG_DOUBLE_128__) &&                                       \
+    !(defined(__LONG_DOUBLE_IEEE128__) && __LONG_DOUBLE_IEEE128__)
 //	For 128 bit long double implemented as 2 doubles on PowerPC,
 //	nextafterl() of libm gives imprecise results which fails the
 //	midpoint() tests below. So skip the test for this case.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127002.436852.patch
Type: text/x-patch
Size: 1064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220614/6e0361fe/attachment-0001.bin>


More information about the libcxx-commits mailing list