Files
jerryscript/tests/jerry
Csaba Osztrogonác 1db16c3a1c Fix Math.round(x) for big integer numbers (#3449)
Math.round(x) should be x it x is already integer. (ES5 15.8.2.15)
The current implementation calculates with x +/- 0.5, which isn't
representable numbers if x >= 2^52.

A correct bug fix can be to follow the spec and simply
return the number itself if it is already integer.

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
2019-12-16 10:57:22 +01:00
..
2018-11-22 10:10:37 +01:00
2019-11-19 15:55:53 +01:00
2018-10-30 15:25:54 +01:00
2017-09-07 09:42:08 +09:00
2018-11-22 10:10:37 +01:00