strconv: ParseFloat seems not working correctly with a large exponent #42436
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Run the below program (Go Playground: https://play.golang.org/p/BKUGd_uDl9_Q)
What did you expect to see?
I assume the first line should print
0.9 <nil>
and the second should print9 <nil>
.What did you see instead?
I see the below output.
The text was updated successfully, but these errors were encountered: