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
..
2019-12-09 14:19:40 +01:00
2019-11-28 14:44:55 +01:00
2019-11-28 14:44:55 +01:00
2019-12-09 12:07:25 +01:00
2019-11-29 11:17:15 +01:00
2019-12-10 14:30:59 +01:00
2019-12-10 14:30:59 +01:00
2019-12-09 12:07:25 +01:00
2019-10-24 14:44:51 +02:00
2019-12-04 15:36:42 +01:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-10-16 16:41:27 +02:00
2019-10-24 14:44:51 +02:00
2019-04-16 08:26:39 +02:00
2019-04-16 08:26:39 +02:00
2019-11-20 11:51:02 +01:00
2019-11-20 11:51:02 +01:00
2019-12-03 13:42:39 +01:00
2019-04-09 10:14:46 +02:00
2019-10-25 15:58:47 +02:00
2017-03-23 09:36:29 +01:00
2016-12-08 06:39:11 +01:00
2017-03-23 09:36:29 +01:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-11-29 11:17:15 +01:00
2019-10-21 13:46:29 +02:00
2019-11-29 11:17:15 +01:00
2019-10-28 14:23:53 +01:00
2017-03-23 09:36:29 +01:00
2019-12-10 14:42:10 +01:00
2019-11-28 11:54:27 +01:00
2019-10-25 15:58:47 +02:00
2019-11-19 19:27:31 +01:00
2019-11-26 13:04:11 +01:00
2019-10-25 15:58:47 +02:00
2019-09-12 13:05:24 +02:00
2019-10-24 14:44:51 +02:00
2019-10-24 14:44:51 +02:00
2018-08-22 08:49:12 +02:00
2019-12-09 12:07:25 +01:00
2019-12-09 12:07:25 +01:00
2019-10-24 14:44:51 +02:00
2019-11-28 14:44:55 +01:00
2019-11-28 14:44:55 +01:00
2019-12-09 12:07:25 +01:00
2019-10-24 14:44:51 +02:00
2019-10-24 14:44:51 +02:00
2019-06-24 11:18:37 +02:00
2019-11-28 14:44:55 +01:00
2019-12-03 15:39:11 +01:00
2019-06-24 11:18:37 +02:00
2019-04-09 10:14:46 +02:00
2019-12-16 10:57:22 +01:00
2019-11-29 11:17:15 +01:00
2019-12-09 12:07:25 +01:00
2019-07-17 14:10:20 +02:00
2019-12-09 12:07:25 +01:00
2019-11-29 11:17:15 +01:00
2019-07-17 14:09:29 +02:00
2019-07-17 14:09:29 +02:00
2019-11-29 11:17:15 +01:00
2019-11-22 12:48:10 +01:00
2019-11-29 11:17:15 +01:00
2019-04-09 10:14:46 +02:00
2019-10-24 14:44:51 +02:00
2019-12-10 14:42:10 +01:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-12-10 14:42:10 +01:00
2019-10-21 13:46:29 +02:00
2019-12-12 15:59:28 +01:00
2019-12-12 15:59:28 +01:00
2019-11-20 11:50:26 +01:00
2019-04-09 10:14:46 +02:00
2019-10-24 14:44:51 +02:00
2019-06-24 11:18:37 +02:00
2019-11-28 14:44:55 +01:00
2019-11-28 14:44:55 +01:00
2019-06-24 11:18:37 +02:00
2019-05-10 20:28:43 +02:00
2019-11-28 14:44:55 +01:00
2019-11-28 14:44:55 +01:00
2019-12-12 15:59:28 +01:00
2019-11-29 11:17:15 +01:00
2019-11-29 11:17:15 +01:00
2019-11-29 11:17:15 +01:00
2019-10-24 14:44:51 +02:00
2019-10-24 14:44:51 +02:00
2019-10-25 15:58:47 +02:00
2019-10-24 14:44:51 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2016-12-08 06:39:11 +01:00
2017-03-23 09:36:29 +01:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-04-09 10:14:46 +02:00
2019-11-22 13:55:36 +01:00
2019-11-19 19:27:31 +01:00
2019-11-19 19:27:31 +01:00
2019-11-19 19:27:31 +01:00
2019-11-22 13:55:36 +01:00
2019-11-19 19:27:31 +01:00
2019-11-19 19:27:31 +01:00
2019-11-19 19:27:31 +01:00
2019-11-29 11:17:15 +01:00
2019-11-29 11:17:15 +01:00
2019-09-12 13:05:24 +02:00
2019-11-28 14:44:55 +01:00