Index finite lists of positive integers: Difference between revisions

m
Line 69:
}
 
// Split the base 16 represntationrepresentation at "a", recover the base 10 numbers.
func unrank(r *big.Int) []big.Int {
s := strings.Split(fmt.Sprintf("%x", r), "a")
Anonymous user