- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TestCompress (0.1 seconds)
-
lib/fips140/v1.26.0.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,...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0) -
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,...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)