ladybird/Userland/Libraries/LibJS/Tests/builtins/Math
Linus Groh 0053816e9d 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.
2021-04-23 20:51:48 +02:00
..
Math-constants.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.@@toStringTag.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.abs.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.acosh.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.asin.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.asinh.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.atan.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.atan2.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.atanh.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.cbrt.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.ceil.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.clz32.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.cos.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.cosh.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.exp.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.expm1.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.floor.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.fround.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.hypot.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.log.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.log1p.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.log2.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.log10.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.max.js LibJS: Correctly handle mixing +0 and -0 in Math.{min,max}() 2021-04-23 20:51:48 +02:00
Math.min.js LibJS: Correctly handle mixing +0 and -0 in Math.{min,max}() 2021-04-23 20:51:48 +02:00
Math.pow.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.sign.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.sin.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.sinh.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.sqrt.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.tan.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.tanh.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Math.trunc.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
rounding-modes.js LibJS: Improve correctness of rounding and bitwise operations 2021-02-05 09:38:45 +01:00