diff options
Diffstat (limited to 'libcxx/test/std/numerics/c.math/abs.pass.cpp')
-rw-r--r-- | libcxx/test/std/numerics/c.math/abs.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/numerics/c.math/abs.pass.cpp b/libcxx/test/std/numerics/c.math/abs.pass.cpp index 3196f225f30..3993dd34318 100644 --- a/libcxx/test/std/numerics/c.math/abs.pass.cpp +++ b/libcxx/test/std/numerics/c.math/abs.pass.cpp @@ -35,9 +35,9 @@ void test_abs() void test_big() { - long long int big_value = std::numeric_limits<long long int>::max(); // a value to big for ints to store + long long int big_value = std::numeric_limits<long long int>::max(); // a value too big for ints to store long long int negative_big_value = -big_value; - assert(std::abs(negative_big_value) == big_value); // make sure it doesnt get casted to a smaller type + assert(std::abs(negative_big_value) == big_value); // make sure it doesn't get casted to a smaller type } // The following is helpful to keep in mind: |