lst_mapper.h
/**
         * @brief Calculates ceil(log_(base) number) for integers.
         * 
         * @param base base of the log operation
         * @param number number of the log operation
         * @return int ceil of the log
         */
@brief Calculates ceil(log_(base) number) for integers.

@param base base of the log operation
@param number number of the log operation
@return int ceil of the log
@brief Calculates ceil ( log_ ( base ) number ) for integers . @param base base of the log operation @param number number of the log operation @return int ceil of the log
static int ceil_log(int base, int number) {
            assert(base > 1 && number > 0);
            int curr = base;
            int cnt = 1;
            while(curr < number) {
                curr *= base;
                ++cnt;
            }
            return cnt;
        }
static int ceil_log ( int base , int number ) { assert ( base > 1 && number > 0 ) ; int curr = base ; int cnt = 1 ; while ( curr < number ) { curr *= base ; ++ cnt ; } return cnt ; }
@brief Calculates ceil(log_(base) number) for integers.
@brief Calculates ceil ( log_ ( base ) number ) for integers .