ChakraCore Version
36becec
Steps to reproduce
When I use the 'print()' method to output an array containing a specific double-precision floating-point number, there is an unexpected rounding error in the last digit. Should the binary representation of the value be stored accurately?
Proof of concept
const testNumber = 9.758231785433683;
const numberArray = [testNumber];
print(numberArray);
Exception or Error
Additional Context
No response
ChakraCore Version
36becec
Steps to reproduce
When I use the 'print()' method to output an array containing a specific double-precision floating-point number, there is an unexpected rounding error in the last digit. Should the binary representation of the value be stored accurately?
Proof of concept
Exception or Error
Additional Context
No response