Daniel Bertalan
fd76e71934
LibJS: Fix UB in Math.clz32
...
If the argument to this function is greater then or equal to 2^32, the
`double` => `u32` cast produces undefined behavior, which Clang catches.
To fix this, we now use `ToUint32` for getting the integer argument, as
specified by ECMA-262.
2021-08-08 10:55:36 +02:00
..
2021-08-06 23:50:10 +02:00
2021-08-08 10:55:36 +02:00
2021-07-30 20:49:18 +02:00
2021-08-08 00:03:45 +02:00
2021-08-08 10:55:36 +02:00
2021-08-07 21:24:11 +02:00
2021-08-08 10:55:36 +02:00
2021-08-06 01:06:42 +02:00
2021-08-07 12:48:22 +02:00
2021-08-08 00:03:45 +02:00
2021-08-08 10:55:36 +02:00
2021-08-03 10:46:43 +02:00
2021-08-01 08:10:16 +02:00
2021-08-08 10:55:36 +02:00
2021-08-04 13:50:32 +01:00
2021-08-08 10:55:36 +02:00
2021-08-06 23:54:36 +02:00
2021-08-06 01:14:03 +02:00
2021-07-29 21:46:25 +01:00
2021-08-08 00:03:45 +02:00
2021-08-04 13:50:32 +01:00
2021-08-08 00:03:45 +02:00
2021-08-02 00:37:18 +02:00
2021-08-08 10:55:36 +02:00
2021-08-02 17:11:47 +02:00
2021-07-29 21:46:25 +01:00