[libcxx-commits] [PATCH] D71525: [libc++] Fix typo in std::midpoint

Ruslan Baratov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Dec 15 09:01:09 PST 2019


ruslo added a comment.

I haven't succeeded in creating a test case that will cover this error. Probably in practice, there is no visible error because the difference is between (a/2 + b/2) and (a/2 + b) when (a > hi && b < lo). In both cases, it will be equal to a/2 because b is too small to contribute anything.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71525





More information about the libcxx-commits mailing list