- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestCompress (0.14 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction. return uint16(rounded % (1 << d)) } func TestCompress(t *testing.T) { for d := 1; d < 12; d++ { for n := 0; n < q; n++ { expected := CompressRat(fieldElement(n), uint8(d)) result := compress(fieldElement(n), uint8(d)) if result != expected { t.Errorf("compress(%d, %d): got %d, expected %d", n, d,...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Sep 25 19:53:19 UTC 2025 - 642.7K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction. return uint16(rounded % (1 << d)) } func TestCompress(t *testing.T) { for d := 1; d < 12; d++ { for n := 0; n < q; n++ { expected := CompressRat(fieldElement(n), uint8(d)) result := compress(fieldElement(n), uint8(d)) if result != expected { t.Errorf("compress(%d, %d): got %d, expected %d", n, d,...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)