Hello. While working on MATH-1047, I wondered about the usefulness of those two methods. Excluding the trivial case (base=|1|), the result will overflow as soon as the exponent is larger than 31, when base=|2|, and sooner the larger the base. Hence, the methods amount to syntactic sugar to spare a cast from a "long" to an "int" exponent. IMO, this is not worth the number of source code lines. Unless there is an objection, I propose to deprecate those methods in 3.3 and remove them in 4.0.
Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org