From 7c0bd5a0933dd54f8f08bcbcd76d5dc30c45c06b Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Sun, 12 Jan 2020 15:09:01 +1030 Subject: [PATCH] internal/cmplx64: make Sqrt test pass on arm64 --- internal/cmplx64/cmath_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmplx64/cmath_test.go b/internal/cmplx64/cmath_test.go index b033ca57..a4178b1a 100644 --- a/internal/cmplx64/cmath_test.go +++ b/internal/cmplx64/cmath_test.go @@ -168,7 +168,7 @@ func cTolerance(a, b complex64, e float32) bool { } return d < e } -func cVeryclose(a, b complex64) bool { return cTolerance(a, b, 1e-7) } +func cVeryclose(a, b complex64) bool { return cTolerance(a, b, 1e-6) } func cAlike(a, b complex64) bool { switch { case IsNaN(a) && IsNaN(b):