From: David Crawshaw Date: Fri, 23 Oct 2015 16:21:02 +0000 (-0400) Subject: math/big: fix SetMantExp comment X-Git-Tag: go1.6beta1~731 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e4feb18fc2aa7618d612e9f4eedb86821240c20b;p=gostls13.git math/big: fix SetMantExp comment Change-Id: If30cf9c94b58e18564db46c15c6f5cc14ec1a6fa Reviewed-on: https://go-review.googlesource.com/16271 Reviewed-by: Robert Griesemer --- 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: //