mirror of https://github.com/tc39/test262.git
fix for the wrong test of Intl.NumberFormat (ToRawPrecision) (#857)
1) (123.44500) == 123.444999999999993179 2) (123.44500).toPrecision(5) === "123.44" gives correct value in Chrome and Firefox; Ref https://github.com/tc39/ecma402/issues/128
This commit is contained in:
parent
9fd3b582c7
commit
58b326f0c4
|
@ -32,8 +32,8 @@ var testData = {
|
|||
"-123.45": "-123.45",
|
||||
"123.44499": "123.44",
|
||||
"-123.44499": "-123.44",
|
||||
"123.44500": "123.45",
|
||||
"-123.44500": "-123.45",
|
||||
"123.44500": "123.44",
|
||||
"-123.44500": "-123.44",
|
||||
"123.44501": "123.45",
|
||||
"-123.44501": "-123.45",
|
||||
"0.001234": "0.001234",
|
||||
|
|
Loading…
Reference in New Issue