aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
Diffstat (limited to 'src/math')
-rw-r--r--src/math/big/ratconv.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/big/ratconv.go b/src/math/big/ratconv.go
index 9fb5711ff9..d924dcd0ac 100644
--- a/src/math/big/ratconv.go
+++ b/src/math/big/ratconv.go
@@ -403,8 +403,8 @@ func (x *Rat) FloatPrec() (n int, exact bool) {
// n = max(p2, p5)
// exact = q == 1
//
- // See https://en.wikipedia.org/wiki/Repeating_decimal for
- // details.
+ // For details see:
+ // https://en.wikipedia.org/wiki/Repeating_decimal#Reciprocals_of_integers_not_coprime_to_10
d := x.Denom().abs // d >= 1
// Determine p2 by counting factors of 2.