Skip to content

Commit 7e1791b

Browse files
bradfitzgriesemer
authored andcommitted
math/big: fix typo
Found by github user asukakenji. Change-Id: I4c76316b69e8a243fb6bf280283f3722e728d853 Reviewed-on: https://go-review.googlesource.com/17641 Reviewed-by: Robert Griesemer <[email protected]>
1 parent b8b65c1 commit 7e1791b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/big/float.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ func (x *Float) Int(z *Int) (*Int, Accuracy) {
11231123

11241124
// Rat returns the rational number corresponding to x;
11251125
// or nil if x is an infinity.
1126-
// The result is Exact is x is not an Inf.
1126+
// The result is Exact if x is not an Inf.
11271127
// If a non-nil *Rat argument z is provided, Rat stores
11281128
// the result in z instead of allocating a new Rat.
11291129
func (x *Float) Rat(z *Rat) (*Rat, Accuracy) {

0 commit comments

Comments
 (0)