Skip to content

Commit 3822e16

Browse files
griesemergopherbot
authored andcommitted
doc: add release note for math/big.Rat.FloatPrec
For #50489. Change-Id: I4544a24327196eb3ed62af64ae5ddb1f60441d12 Reviewed-on: https://go-review.googlesource.com/c/go/+/546357 Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Griesemer <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> TryBot-Bypass: Robert Griesemer <[email protected]>
1 parent af5d544 commit 3822e16

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

doc/go1.22.html

+4-6
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
437437

438438
<dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt>
439439
<dd>
440-
<p><!-- https://go.dev/issue/50489 -->
441-
TODO: <a href="https://go.dev/issue/50489">https://go.dev/issue/50489</a>: Rat: add FloatPrec() (int, bool)
442-
</p>
443-
444-
<p><!-- CL 539299 -->
445-
TODO: <a href="https://go.dev/cl/539299">https://go.dev/cl/539299</a>: math/big: implement Rat.FloatPrec; modified api/next/50489.txt
440+
<p><!-- https://go.dev/issue/50489, CL 539299 -->
441+
The new method <a href="/pkg/math/big#Rat.FloatPrec">Rat.FloatPrec</a> computes the number of fractional decimal digits
442+
required to represent a rational number accurately as a floating-point number, and whether accurate decimal representation
443+
is possible in the first place.
446444
</p>
447445
</dd>
448446
</dl><!-- math/big -->

0 commit comments

Comments
 (0)