Math.Log10
Math.Log2
Math.Sin
Returns the base 2 logarithm of a specified number.
Math.Log2(x)
아래 값을 입력하면 예제에 즉시 반영됩니다.
Console
WriteLine
Math
Console.WriteLine(Math.Log2(8)); // 3 Console.WriteLine(Math.Log2(1024)); // 10