Use change of base formula (#499)