Add exponent algorithm to BigDecimal.