* @param y
     * @return the larger (closer to positive infinity) of either x or y1
     */
    public static BigDecimal min(
            BigDecimal x,
            BigInteger y) {
        BigDecimal y_BigDecimal = new BigDecimal(y);
        return min(x, y_BigDecimal);
    }