I think that my Android phone (a Chinese model with Android 11 Go) has the Android calculator, which IIRC was based on the old SGI Irix calculator.
If to the right of the 4 basic operators +, -, ×, ÷ you have a vertical strip (greenish in my case), you can slide it to the left and have access to various other operators/functions, including log.
Being based on the old SGI calculator, you can also slide any result to the left to get as many digits after the decimal point as you like.
e.g. slide in the extra ops, press π, then start sliding the 3.1415… result.