[PATCH] D53670: Revert "Teach __libcpp_is_floating_point that __fp16 and _Float16 are"

Marshall Clow via Phabricator reviews at reviews.llvm.org
Thu Oct 25 11:54:29 PDT 2018


mclow.lists added a comment.

In https://reviews.llvm.org/D53670#1276224, @rsmith wrote:

> For whatever it's worth, in libstdc++ `std::is_floating_point<__float128>::value` yields `true` by default (which in this case means in `-std=gnu++XY` but not in `-std=c++XY`) on targets that have a `__float128` type. They also supply an `abs` overload for `__float128` in that case, but nothing else (surprisingly not even `numeric_limits`).


Yes, but clang doesn't have a "not a standard" mode like gcc does. (nor do I think we should have one).


Repository:
  rL LLVM

https://reviews.llvm.org/D53670





More information about the libcxx-commits mailing list