src/main/java/eu/digitisation/math/Plot.java
private int pow(int base, int exp) {
        int result = 1;
        while (exp != 0) {
            if ((exp & 1) == 1) {
                result *= base;
            }
            exp >>= 1;
            base *= base;
        }
        return result;
    }
/**
     * Integer exponentiation (for axis)
     *
     * @param base base
     * @param exp exponent
     * @return the exp-th power of base
     */
Integer exponentiation (for axis)
@param base base
@param exp exponent
@return the exp-th power of base
Integer exponentiation ( for axis ) @param base base @param exp exponent @return the exp - th power of base
private int pow(int base, int exp) {
        int result = 1;
        while (exp != 0) {
            if ((exp & 1) == 1) {
                result *= base;
            }
            exp >>= 1;
            base *= base;
        }
        return result;
    }
private int pow ( int base , int exp ) { int result = 1 ; while ( exp != 0 ) { if ( ( exp & 1 ) == 1 ) { result *= base ; } exp >>= 1 ; base *= base ; } return result ; }
Integer exponentiation (for axis)
 @param base base
 @param exp exponent
 @return the exp-th power of base
Integer exponentiation ( for axis ) @param base base @param exp exponent @return the exp - th power of base