Commit b571026f authored by ahaas's avatar ahaas Committed by Commit bot

[test] Change or replace unrepresentable number in the lists of float test values.

I removed or replaced some values in the list of float and double values
in value-helper.h which cannot be represented precisely as floats or
doubles, respectively.

R=titzer@chromium.org

Review-Url: https://codereview.chromium.org/2135243004
Cr-Commit-Position: refs/heads/master@{#37671}
parent f3ca2142
......@@ -82,8 +82,9 @@ class ValueHelper {
-4.66622e+11f,
-2.22581e+11f,
-1.45381e+10f,
-2147483649.0f, // INT32_MIN - 1
-2147483904.0f, // First float32 after INT32_MIN
-2147483648.0f, // INT32_MIN
-2147483520.0f, // Last float32 before INT32_MIN
-1.3956e+09f,
-1.32951e+09f,
-1.30721e+09f,
......@@ -158,8 +159,8 @@ class ValueHelper {
1.51116e+11f,
4.18193e+13f,
3.59167e+16f,
9223372036854775807.0f, // INT64_MAX
18446744073709551615.0f, // UINT64_MAX
9223372036854775808.0f, // INT64_MAX + 1
18446744073709551616.0f, // UINT64_MAX + 1
3.38211e+19f,
2.67488e+20f,
1.78831e+21f,
......@@ -224,9 +225,9 @@ class ValueHelper {
2147483648.0,
2147483648.25,
2147483649.25,
9223372036854775807.0, // INT64_MAX
9223372036854775808.0, // INT64_MAX + 1
9223373136366403584.0,
18446744073709551615.0, // UINT64_MAX
18446744073709551616.0, // UINT64_MAX + 1
2e66,
V8_INFINITY,
-V8_INFINITY,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment