[PD] logarithmic calculation