[libcxx-commits] [PATCH] D57778: std::abs should not return double (2735)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 20 12:38:08 PDT 2019


zoecarver added a comment.

Given that `long int` and `long long int` will never be smaller than `int` we could remove the `correct_size_int` type trait from those calls and re-add the `<=` check. Maybe that would be the best solution.


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

https://reviews.llvm.org/D57778





More information about the libcxx-commits mailing list