Code example for BigInteger

Methods: divide

0
     
    public synchronized BigInteger currentValue() {
        int div = Math.min(count, history.length);
        if(div == 0) return initReturn;
        BigInteger val = BigInteger.valueOf(div);
        return total.divide(val);
    } 
} 
Experience pair programming with AI  Get Codota for Java