- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for fromDecimal (0.09 sec)
-
lib/fips140/v1.0.0.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 Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)