From 3822e161a30ff4c6e288e10dbf3345a61ce1c3ff Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 4 Dec 2023 10:45:50 -0800 Subject: [PATCH] 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 Auto-Submit: Robert Griesemer Reviewed-by: Robert Griesemer TryBot-Bypass: Robert Griesemer --- doc/go1.22.html | 10 ++++------ 1 file 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.
math/big
-

- TODO: https://go.dev/issue/50489: Rat: add FloatPrec() (int, bool) -

- -

- TODO: https://go.dev/cl/539299: math/big: implement Rat.FloatPrec; modified api/next/50489.txt +

+ The new method Rat.FloatPrec 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.

-- 2.50.0