diff options
Diffstat (limited to 'src/math/big/float_test.go')
| -rw-r--r-- | src/math/big/float_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/float_test.go b/src/math/big/float_test.go index cc38f68436..86b1c6f7a1 100644 --- a/src/math/big/float_test.go +++ b/src/math/big/float_test.go @@ -279,7 +279,7 @@ func TestFloatSetMantExp(t *testing.T) { } // test inverse property mant := new(Float) - if z.SetMantExp(mant, want.MantExp(mant)).Cmp(want) != 0 { + if z.SetMantExp(mant, want.MantExp(mant)).Cmp(want).Neq() { t.Errorf("Inverse property not satisfied: got %s; want %s", z.Format('g', 10), test.z) } } |
