mirror of
https://github.com/golang/go.git
synced 2024-09-22 02:48:50 +00:00
math/big: fix typo
Found by github user asukakenji. Change-Id: I4c76316b69e8a243fb6bf280283f3722e728d853 Reviewed-on: https://go-review.googlesource.com/17641 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
b8b65c10e0
commit
7e1791b97f
@ -1123,7 +1123,7 @@ func (x *Float) Int(z *Int) (*Int, Accuracy) {
|
||||
|
||||
// Rat returns the rational number corresponding to x;
|
||||
// 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
|
||||
// the result in z instead of allocating a new Rat.
|
||||
func (x *Float) Rat(z *Rat) (*Rat, Accuracy) {
|
||||
|
Loading…
Reference in New Issue
Block a user