1
0
mirror of https://github.com/golang/go synced 2024-11-26 22:51:23 -07:00
go/api/next/56984.txt
Alan Donovan fcd0e0963f math/big: add Int.Float64 conversion
This operation converts a big.Int to float64,
reporting the accuracy of the result, with
a fast path in hardware.

Fixes #56984

Change-Id: I86d0fb0e105a06a4009986f2f5fd87a4d446f6f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/453115
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Alan Donovan <adonovan@google.com>
2023-02-02 19:39:34 +00:00

2 lines
67 B
Plaintext

pkg math/big, method (*Int) ToFloat64() (float64, Accuracy) #56984