mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2026-02-07 19:26:25 +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