public UInt128 Visit(CosmosNumber64 cosmosNumber64, UInt128 seed) { UInt128 hash = seed == RootHashSeed ? RootCache.Number64 : MurmurHash3.Hash128(HashSeeds.Number64, seed); Number64 value = cosmosNumber64.GetValue(); Number64.DoubleEx doubleExValue = Number64.ToDoubleEx(value); return(MurmurHash3.Hash128(doubleExValue, hash)); }
public override int GetHashCode() { return((int)MurmurHash3.Hash32(Number64.ToDoubleEx(this.GetValue()), 1943952435)); }