Commit 7e1791b9 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Robert Griesemer

math/big: fix typo

Found by github user asukakenji.

Change-Id: I4c76316b69e8a243fb6bf280283f3722e728d853
Reviewed-on: https://go-review.googlesource.com/17641Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
parent b8b65c10
...@@ -1123,7 +1123,7 @@ func (x *Float) Int(z *Int) (*Int, Accuracy) { ...@@ -1123,7 +1123,7 @@ func (x *Float) Int(z *Int) (*Int, Accuracy) {
// Rat returns the rational number corresponding to x; // Rat returns the rational number corresponding to x;
// or nil if x is an infinity. // or nil if x is an infinity.
// The result is Exact is x is not an Inf. // The result is Exact if x is not an Inf.
// If a non-nil *Rat argument z is provided, Rat stores // If a non-nil *Rat argument z is provided, Rat stores
// the result in z instead of allocating a new Rat. // the result in z instead of allocating a new Rat.
func (x *Float) Rat(z *Rat) (*Rat, Accuracy) { func (x *Float) Rat(z *Rat) (*Rat, Accuracy) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment