diff --git a/test/function/arithmetic/sqrt.test.js b/test/function/arithmetic/sqrt.test.js index 6e22d9924..98b2e7417 100644 --- a/test/function/arithmetic/sqrt.test.js +++ b/test/function/arithmetic/sqrt.test.js @@ -49,6 +49,7 @@ describe('sqrt', function() { it('should return the square root of a complex number', function() { assert.deepEqual(sqrt(math.complex(3, -4)), math.complex(2, -1)); + assert.deepEqual(sqrt(math.complex(1e10, 1e-10)), math.complex(1e5, 5e-16)); }); it('should throw an error when used with a unit', function() {