[libcxx-commits] [PATCH] D57778: std::abs should not return double (2735)
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Feb 6 06:52:35 PST 2019
mclow.lists added inline comments.
================
Comment at: test/std/numerics/c.math/abs.pass.cpp:31
+{
+ long long int big_value = 9223372036854775800; // a value to big for ints to store
+ long long int negative_big_value = -big_value;
----------------
How do you assure that this is bigger than `numeric_limits<int>::max()`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57778/new/
https://reviews.llvm.org/D57778
More information about the libcxx-commits
mailing list