Logarithm

A basic mathematical operation. A base-10 logarithm function converts 100 to 3, 10 to 2, and 1 to 1. The stellar magnitude scale uses a logarithm of base 0.4.