public override int GetHashCode() { int h = q.GetHashCode(); h ^= (h << 17) | (h.TripleShift(16)); h += boostVal.GetHashCode(); h ^= (h << 8) | (h.TripleShift(25)); h += J2N.BitConversion.SingleToInt32Bits(Boost); return(h); }
public override int GetHashCode() { int h = q.GetHashCode(); h ^= (h << 17) | ((int)((uint)h >> 16)); h += boostVal.GetHashCode(); h ^= (h << 8) | ((int)((uint)h >> 25)); h += J2N.BitConversion.SingleToInt32Bits(Boost); return(h); }
/// <summary> /// Returns a hash code value for this object. /// </summary> public override int GetHashCode() { return(func.GetHashCode() * 31 + J2N.BitConversion.SingleToInt32Bits(Boost)); }
/// <summary> /// Returns a hash code value for this object. /// </summary> public override int GetHashCode() { return(func.GetHashCode() * 31 + Number.SingleToInt32Bits(Boost)); }