Using high school math:
log_y(x) = ln(x)/ln(y)
But I agree that it’s a little strange that there is no such utility. This is probably due to the almost direct mapping of these functions to the FPU.
However, do not worry about using this “advanced” method. Math will not change. The formula will be valid for at least the next few lives.
source share