diff options
Diffstat (limited to 'src/math/big/float.go')
| -rw-r--r-- | src/math/big/float.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/big/float.go b/src/math/big/float.go index 29dbc0d8c2..adb914d30e 100644 --- a/src/math/big/float.go +++ b/src/math/big/float.go @@ -292,7 +292,7 @@ func validate(x *Float) { if m == 0 { // 0.0 or Inf if x.exp != 0 && x.exp != infExp { - panic(fmt.Sprintf("%empty matissa with invalid exponent %d", x.exp)) + panic(fmt.Sprintf("empty matissa with invalid exponent %d", x.exp)) } return } @@ -842,7 +842,7 @@ func (x *Float) Int(z *Int) (*Int, Accuracy) { return z, acc } -// Rat returns the result of converting x into a quotient; +// Rat returns the rational number corresponding to x; // or nil if x is an infinity. // If a non-nil *Rat argument z is provided, Rat stores // the result in z instead of allocating a new Rat. |
