Logarithm evaluation and calculations