- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fromDecimal (0.09 sec)
-
lib/fips140/v1.0.0-c2097c7c.zip
new(big.Int).SetBits(words) } func TestDecimalConstants(t *testing.T) { sqrtM1String := "19681161376707505956" if exp := new(Element).fromDecimal(sqrtM1String); sqrtM1.Equal(exp) != 1 { t.Errorf("sqrtM1 is %v, expected %v", sqrtM1, exp) } // d is in the parent package, and we don't want to expose d or fromDecimal. // dString := "37095705934669439343" // if exp := new(Element).fromDecimal(dString); d.Equal(exp) != 1 { // t.Errorf("d is %v, expected %v", d, exp) // } } func TestSetBytesRoundTri(t *testing.T) {...
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
new(big.Int).SetBits(words) } func TestDecimalConstants(t *testing.T) { sqrtM1String := "19681161376707505956" if exp := new(Element).fromDecimal(sqrtM1String); sqrtM1.Equal(exp) != 1 { t.Errorf("sqrtM1 is %v, expected %v", sqrtM1, exp) } // d is in the parent package, and we don't want to expose d or fromDecimal. // dString := "37095705934669439343" // if exp := new(Element).fromDecimal(dString); d.Equal(exp) != 1 { // t.Errorf("d is %v, expected %v", d, exp) // } } func TestSetBytesRoundTri(t *testing.T) {...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)