From e4feb18fc2aa7618d612e9f4eedb86821240c20b Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Fri, 23 Oct 2015 12:21:02 -0400 Subject: [PATCH] math/big: fix SetMantExp comment Change-Id: If30cf9c94b58e18564db46c15c6f5cc14ec1a6fa Reviewed-on: https://go-review.googlesource.com/16271 Reviewed-by: Robert Griesemer --- src/math/big/float.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/big/float.go b/src/math/big/float.go index b92d5cec28..ea2f516f84 100644 --- a/src/math/big/float.go +++ b/src/math/big/float.go @@ -298,7 +298,7 @@ func (z *Float) setExpAndRound(exp int64, sbit uint) { // not require 0.5 <= |mant| < 1.0. Specifically: // // mant := new(Float) -// new(Float).SetMantExp(mant, x.SetMantExp(mant)).Cmp(x).Eql() is true +// new(Float).SetMantExp(mant, x.MantExp(mant)).Cmp(x) == 0 // // Special cases are: // -- 2.48.1