diff --git a/test/built-ins/Math/hypot/Math.hypot_Zero_2.js b/test/built-ins/Math/hypot/Math.hypot_Zero_2.js index 0a33737cbe..159cf95375 100644 --- a/test/built-ins/Math/hypot/Math.hypot_Zero_2.js +++ b/test/built-ins/Math/hypot/Math.hypot_Zero_2.js @@ -4,7 +4,10 @@ /*--- es6id: 20.2.2.18 author: Ryan Lewis -description: Math.hypot should return 0 if called with all arguments being 0. +description: Return 0 if all arguments being are 0 or -0. ---*/ assert.sameValue(Math.hypot(0, 0), 0, 'Math.hypot(0, 0)'); +assert.sameValue(Math.hypot(0, -0), 0, 'Math.hypot(0, -0)'); +assert.sameValue(Math.hypot(-0, 0), 0, 'Math.hypot(-0, 0)'); +assert.sameValue(Math.hypot(-0, -0), 0, 'Math.hypot(-0, -0)');