docs: private static void ifChanged(Deque<Double> stack) {
      double v2 = stack.removeFirst();
      double v1 = stack.removeFirst();
      double num = stack.removeFirst();
      stack.addFirst((Double.compare(v1, v2) == 0) ? 0.0 : num);
    }