Rounding errors with toExponential in Edge 15/16
redchair123 opened this issue · 4 comments
redchair123 commented
See chakra-core/ChakraCore#3929 and chakra-core/ChakraCore#4421 . Reproducible example:
(-6.9e-11).toExponential(4);
Pretty much every other JS engine, even IE8+, give the expected "-6.9000e-11"
but Edge 15/16 give "-6.8000e-11"
ping @ljharb
obastemur commented
The issue was fixed on ChakraCore release1.8. The same fix should apply to upcoming Edge release.
ljharb commented
@obastemur do you know which edge version ended up fixing it?
SheetJSDev commented
FYI this is still a failure in Edge17 revision 17.17134 (the version used in sauce labs)