mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
In Math.max case: if we already found an infinity value update the result only when the previous value was a negative infinity. In Math.min case: if we already found an infinity value update the result only when the previous value was a positive infinity. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com