]> Cypherpunks repositories - gostls13.git/commit
internal/strconv: add tests and benchmarks for ftoaFixed
authorRuss Cox <rsc@golang.org>
Sun, 2 Nov 2025 14:59:59 +0000 (09:59 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 4 Nov 2025 04:09:15 +0000 (20:09 -0800)
commit162ba6cc405851ee7f0d30b600de1a308321ddca
tree9d26755ac51c982c80173d3ee15550d2ce6905a8
parent9795c7ba220702c8bbf0188a8fc28e1d482bae4f
internal/strconv: add tests and benchmarks for ftoaFixed

ftoaFixed is in the next CL; this proves the tests are correct
against the current implementation, and it adds a benchmark
for comparison with the new implementation.

Change-Id: I7ac8a1f699b693ea6d11a7122b22fc70cc135af6
Reviewed-on: https://go-review.googlesource.com/c/go/+/717181
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/strconv/fp_test.go
src/internal/strconv/ftoa_test.go