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

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 19 20:15:14 PDT 2019


zoecarver updated this revision to Diff 216051.
zoecarver added a comment.

- add `correct_size_int` type trait so `Result` is only changed based on the size of integral types (not floating points)


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

https://reviews.llvm.org/D57778

Files:
  libcxx/test/std/numerics/c.math/abs.fail.cpp
  libcxx/test/std/numerics/c.math/abs.pass.cpp
  libcxx/www/cxx1z_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57778.216051.patch
Type: text/x-patch
Size: 5161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190820/4c843c94/attachment.bin>


More information about the libcxx-commits mailing list