Details
-
Feature Request
-
Resolution: Unresolved
-
Trivial
-
None
Description
Currently their code looks like this:
// TODO FIXME remove .intValue() so non-integer exponents produce correct results // None of the normal Java libraries support BigDecima.pow(BigDecimal) return new HardSoftBigDecimalScore( hardScore.pow(exponentBigDecimal.intValue()).setScale(hardScore.scale()), softScore.pow(exponentBigDecimal.intValue()).setScale(softScore.scale()));
I 've asked a question on stackoverflow:
http://stackoverflow.com/questions/16441769/javas-bigdecimal-powerbigdecimal-exponent-is-there-java-library-that-does-it