Module hash4j

Class UnsignedMultiplyUtil

java.lang.Object
com.dynatrace.hash4j.internal.UnsignedMultiplyUtil

public final class UnsignedMultiplyUtil extends Object
Utility class for the unsigned multiplication of long values.
  • Method Details

    • unsignedMultiplyHigh

      public static long unsignedMultiplyHigh(long x, long y)
      Returns the most significant 64 bits of the unsigned 128-bit product of two unsigned 64-bit factors as a long.
      Parameters:
      x - the first value
      y - the second value
      Returns:
      the result