testing/quick: float64 values generated by quick seems to be always with either 307 or 308 as the exponent #46162
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
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?
for this simple code (also on https://play.golang.org/p/kDpslSUu9TU):
This is a sample run result:
sample run result
As you can see from the sample result, every single one of them are either
e+307
ore+308
. I've noticed this from several different runs, from both local and go playground.What did you expect to see?
Something more random? I'm not sure if this is something "expected"/"intended", or a bug.
What did you see instead?
The text was updated successfully, but these errors were encountered: