diff options
Diffstat (limited to 'src/pkg/math/all_test.go')
| -rw-r--r-- | src/pkg/math/all_test.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pkg/math/all_test.go b/src/pkg/math/all_test.go index 066f89da8..06c5be200 100644 --- a/src/pkg/math/all_test.go +++ b/src/pkg/math/all_test.go @@ -168,12 +168,8 @@ func tolerance(a, b, e float64) bool { } return d < e; } -func close(a, b float64) bool { - return tolerance(a, b, 1e-14); -} -func veryclose(a, b float64) bool { - return tolerance(a, b, 4e-16); -} +func close(a, b float64) bool { return tolerance(a, b, 1e-14) } +func veryclose(a, b float64) bool { return tolerance(a, b, 4e-16) } func TestAsin(t *testing.T) { for i := 0; i < len(vf); i++ { |
