- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for benchmarksRandomNormal (0.31 sec)
-
src/strconv/atof_test.go
bits := uint64(rand.Uint32())<<32 | uint64(rand.Uint32()) x := math.Float64frombits(bits) benchmarksRandomBits[i] = FormatFloat(x, 'g', -1, 64) } for i := range benchmarksRandomNormal { x := rand.NormFloat64() benchmarksRandomNormal[i] = FormatFloat(x, 'g', -1, 64) } } func TestParseFloatPrefix(t *testing.T) { for i := range atoftests { test := &atoftests[i] if test.err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 16:24:57 UTC 2022 - 23.6K bytes - Viewed (0)