diff options
| author | Alan Donovan <adonovan@google.com> | 2023-06-01 18:29:57 -0400 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2023-06-02 14:22:24 +0000 |
| commit | fdbc66d6ddd605c49c13261e423bb8a862eca3a2 (patch) | |
| tree | 914cb34a6c157d6ec8e143fd36f16dca7b344663 /api | |
| parent | c71cbd544e3da139badd4c03612af41b63711705 (diff) | |
| download | go-fdbc66d6ddd605c49c13261e423bb8a862eca3a2.tar.xz | |
math/big: rename Int.ToFloat64 to Float64
The "To" prefix was a relic of the first draft
that I failed to make consistent with the unprefixed
name used in the proposal. Fortunately iant spotted
it during the API audit.
Updates #56984
Updates #60560
Change-Id: Ifa6eeddf6dd5f0637c0568e383f9a4bef88b10f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/500116
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'api')
| -rw-r--r-- | api/go1.21.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/go1.21.txt b/api/go1.21.txt index b7967cd700..ec11adf4b7 100644 --- a/api/go1.21.txt +++ b/api/go1.21.txt @@ -345,7 +345,7 @@ pkg maps, func Equal[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$3 }, $2 pkg maps, func EqualFunc[$0 interface{ ~map[$2]$3 }, $1 interface{ ~map[$2]$4 }, $2 comparable, $3 interface{}, $4 interface{}]($0, $1, func($3, $4) bool) bool #57436 pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) []$1 #57436 pkg maps, func Values[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) []$2 #57436 -pkg math/big, method (*Int) ToFloat64() (float64, Accuracy) #56984 +pkg math/big, method (*Int) Float64() (float64, Accuracy) #56984 pkg net/http, method (*ProtocolError) Is(error) bool #41198 pkg net/http, method (*ResponseController) EnableFullDuplex() error #57786 pkg net/http, var ErrSchemeMismatch error #44855 |
