computeHashOfInt

fun computeHashOfInt(anInt: Int): Int

Hash the passed Int. Note that it must have the same value as what computeHashOfIntegerObject would return, given an encoding of the Int as an Avail integer.

Return

The hash of the given Int, consistent with Avail integer hashing.

Parameters

anInt

The Int to hash.