[PATCH] D67897: Fix __is_signed builtin

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 22 16:53:37 PDT 2019


rsmith added a comment.

In D67897#1678388 <https://reviews.llvm.org/D67897#1678388>, @Quuxplusone wrote:

> But `std::is_signed_v<float>` needs to yield `false`.


It should yield `true`; the spec says "If is_­arithmetic_­v<T> is true, the same result as T(-1) < T(0); otherwise, false".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67897





More information about the cfe-commits mailing list