public static int compute2(int x) {
    int loops = (x >>> 4) & 7;
    while (loops-- > 0) {
      x = (x * 2147483647) % 16807;
    }
    return x;
  }
Computes a linear congruential random number a random number of times.
geode-junit/src/main/java/org/apache/geode/internal/util/concurrent/cm/LoopHelpers.java