diff options
| author | Robert Griesemer <gri@golang.org> | 2023-12-04 10:45:50 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-12-05 18:30:46 +0000 |
| commit | 3822e161a30ff4c6e288e10dbf3345a61ce1c3ff (patch) | |
| tree | 8ac28f0366243d385f142533c33742b0313ae063 | |
| parent | af5d544b6d847e1610132aa6301afd2c2cd77d9f (diff) | |
| download | go-3822e161a30ff4c6e288e10dbf3345a61ce1c3ff.tar.xz | |
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 <adonovan@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
| -rw-r--r-- | doc/go1.22.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/go1.22.html b/doc/go1.22.html index 4c180fd653..fdc9827bb2 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -437,12 +437,10 @@ Do not send CLs removing the interior tags from such phrases. <dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt> <dd> - <p><!-- https://go.dev/issue/50489 --> - TODO: <a href="https://go.dev/issue/50489">https://go.dev/issue/50489</a>: Rat: add FloatPrec() (int, bool) - </p> - - <p><!-- CL 539299 --> - TODO: <a href="https://go.dev/cl/539299">https://go.dev/cl/539299</a>: math/big: implement Rat.FloatPrec; modified api/next/50489.txt + <p><!-- https://go.dev/issue/50489, CL 539299 --> + The new method <a href="/pkg/math/big#Rat.FloatPrec">Rat.FloatPrec</a> computes the number of fractional decimal digits + required to represent a rational number accurately as a floating-point number, and whether accurate decimal representation + is possible in the first place. </p> </dd> </dl><!-- math/big --> |
