diff --git a/Userland/Libraries/LibJS/Runtime/MathObject.cpp b/Userland/Libraries/LibJS/Runtime/MathObject.cpp index 4e984f643c..345cfa4ba9 100644 --- a/Userland/Libraries/LibJS/Runtime/MathObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/MathObject.cpp @@ -303,7 +303,7 @@ JS_DEFINE_NATIVE_FUNCTION(MathObject::atan2) } // 10. If ny < -0𝔽, then - if (y.as_double() < 0) { + if (y.as_double() < -0) { // a. If nx is +∞𝔽, return -0𝔽. if (x.is_positive_infinity()) return Value(-0.0);