Commit b13b80e5 authored by Russ Cox's avatar Russ Cox

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
parent a0690b69
......@@ -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])
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment