- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkIntSqr (0.15 sec)
-
src/math/big/int_test.go
b.ResetTimer() t := new(Int) for i := 0; i < b.N; i++ { t.Sqrt(n) } } func benchmarkIntSqr(b *testing.B, nwords int) { x := new(Int) x.abs = rndNat(nwords) t := new(Int) b.ResetTimer() for i := 0; i < b.N; i++ { t.Mul(x, x) } } func BenchmarkIntSqr(b *testing.B) { for _, n := range sqrBenchSizes { if isRaceBuilder && n > 1e3 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0)