The logint command computes the floor of the logarithm of A to the base B, where A and B are positive integers.
logint(8,2); 3 logint(10,3); 2