- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestIssue34919 (0.15 sec)
-
src/math/big/rat_test.go
} } func BenchmarkRatCmp(b *testing.B) { x, y := NewRat(4, 1), NewRat(7, 2) for i := 0; i < b.N; i++ { x.Cmp(y) } } // TestIssue34919 verifies that a Rat's denominator is not modified // when simply accessing the Rat value. func TestIssue34919(t *testing.T) { for _, acc := range []struct { name string f func(*Rat) }{ {"Float32", func(x *Rat) { x.Float32() }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 07 00:15:59 UTC 2022 - 18.9K bytes - Viewed (0)