[libcxx-commits] [PATCH] D116338: Set std::numeric_limits<>::tinyness_before to true for floating point types on ARM platforms.

Owen Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 29 10:26:25 PST 2021


resistor marked an inline comment as done.
resistor added inline comments.


================
Comment at: libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/tinyness_before.pass.cpp:30
+    if (std::is_floating_point<T>::value) {
+        T denorm_max = std::nextafter(std::numeric_limits<double>::min(), 0);
+        T multiplier = 1 + std::numeric_limits<T>::epsilon();
----------------
ldionne wrote:
> Unless this was intended?
Thank for you for the catch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116338



More information about the libcxx-commits mailing list