The log functions compute the natural (base e) logarithm of x. The log2 functions compute the base 2 logarithm of x. The log10 functions compute the common (base 10) logarithm of x.