Method Gmp.mpz()->hamdist()

class Gmp.mpz

Method hamdist

int hamdist(int x)

Description

Calculates the hamming distance between this number and x.