[ https://issues.apache.org/jira/browse/LANG-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17184013#comment-17184013 ]
Jin Xu edited comment on LANG-1601 at 8/25/20, 1:04 PM: -------------------------------------------------------- [~aherbert] A further thought: this can be done in ArithmeticUtils.pow(int k, int e), {code:java} if ( abs(k) >= 2 && e>=32) { throw overflow directly. } {code} was (Author: xenoamess): [~aherbert] A further thought: this can be done in ArithmeticUtils.pow(int k, int e), if ( abs(k) >= 2 && e>=32) { throw overflow directly. } > refine performance of Fraction.pow > ---------------------------------- > > Key: LANG-1601 > URL: https://issues.apache.org/jira/browse/LANG-1601 > Project: Commons Lang > Issue Type: Improvement > Components: lang.math.* > Reporter: Jin Xu > Priority: Minor > Time Spent: 1h 10m > Remaining Estimate: 0h > > https://github.com/apache/commons-lang/pull/611 -- This message was sent by Atlassian Jira (v8.3.4#803005)