diff options
author | Linus Groh <mail@linusgroh.de> | 2021-04-23 20:47:53 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-23 20:51:48 +0200 |
commit | 0053816e9dd372664e8c58fde4855ba9f5e2b300 (patch) | |
tree | 5fbadb49ee48a697eeed86cc830fa293797070be /Meta/screenshot-191112e.png | |
parent | 883e8683b2b67570672958adc626bed9e6176985 (diff) | |
download | serenity-0053816e9dd372664e8c58fde4855ba9f5e2b300.zip |
LibJS: Correctly handle mixing +0 and -0 in Math.{min,max}()
The native C++ < and > operators won't handle this correctly, so the
result was different depending on the order of arguments. This is now
fixed by explicitly checking for positive and negative zero values.
Fixes #6589.
Diffstat (limited to 'Meta/screenshot-191112e.png')
0 files changed, 0 insertions, 0 deletions