Add log10 support