diff options
author | Russ Cox <rsc@golang.org> | 2010-02-01 22:46:37 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-02-01 22:46:37 -0800 |
commit | b13b80e555c2e629eba5cfd27c672f84f93d50c1 (patch) | |
tree | 2980de7e542e3f6f21b686e693fbe4ada1be88cd | |
parent | a0690b69dad53ebeebc181749ede6d298272d120 (diff) | |
download | go-b13b80e555c2e629eba5cfd27c672f84f93d50c1.tar.gz go-b13b80e555c2e629eba5cfd27c672f84f93d50c1.zip |
math: change Cosh test to close, not veryclose (needed on some x86 chips)
R=r
CC=Charlie Dorian, golang-dev
https://golang.org/cl/199054
-rw-r--r-- | src/pkg/math/all_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/all_test.go b/src/pkg/math/all_test.go index 59fdd9e1a7..fa9c4bd24f 100644 --- a/src/pkg/math/all_test.go +++ b/src/pkg/math/all_test.go @@ -832,7 +832,7 @@ func TestCos(t *testing.T) { func TestCosh(t *testing.T) { for i := 0; i < len(vf); i++ { - if f := Cosh(vf[i]); !veryclose(cosh[i], f) { + if f := Cosh(vf[i]); !close(cosh[i], f) { t.Errorf("Cosh(%g) = %g, want %g\n", vf[i], f, cosh[i]) } } |