BigInt.toHash

size_t toHash() const @safe pure nothrow @nogc

Computes a hash value for use in associative arrays.

This method enables BigInt to be used as a key in associative arrays. The hash is computed by combining the sign and all limb values.

Returns

A hash value suitable for use in associative arrays