1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:14:43 -07:00

math/big: fix SetMantExp comment

Change-Id: If30cf9c94b58e18564db46c15c6f5cc14ec1a6fa
Reviewed-on: https://go-review.googlesource.com/16271
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
David Crawshaw 2015-10-23 12:21:02 -04:00
parent 6327e8dc69
commit e4feb18fc2

View File

@ -298,7 +298,7 @@ func (z *Float) setExpAndRound(exp int64, sbit uint) {
// not require 0.5 <= |mant| < 1.0. Specifically: // not require 0.5 <= |mant| < 1.0. Specifically:
// //
// mant := new(Float) // 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: // Special cases are:
// //