* @param decimalPlaces
     * @param a_RoundingMode
     * @return x/y if it can be accurately represented as a BigDecimal. Throws a
     * ArithmeticException otherwise
     */
    private static BigDecimal divideNoCaseCheckNoRounding(
            BigDecimal x,
            BigDecimal y) {
        BigDecimal result = x.divide(y, RoundingMode.UNNECESSARY);
        return result;
    }