- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkDiv64NegBoth (0.3 sec)
-
src/cmd/compile/internal/test/math_test.go
} func BenchmarkDiv64NegDividend(b *testing.B) { q := int64(-1) for i := 1; i <= b.N; i++ { q = -(int64(0x7fffffffffffffff) - int64(i) - (q & 1)) / int64(i) } Output = int(q) } func BenchmarkDiv64NegBoth(b *testing.B) { q := int64(-1) for i := 1; i <= b.N; i++ { q = -(int64(0x7fffffffffffffff) - int64(i) - (q & 1)) / -int64(i) } Output = int(q) } func BenchmarkMod64UnsignedSmall(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 3.4K bytes - Viewed (0)