🔄 Radix Conversion Digits

Compute the number of digits an integer needs in a target radix (2-36), comparing binary and hex compactness.

📐 計算公式與說明

進位制位數估算:目標進位制位數 = ⌈log(數值+1) ÷ log(進位制)⌉(進位制 2-36);聯動量:二進位制位數 = ⌈log(數值+1) ÷ log 2⌉(bit)、十六進位制位數 = ⌈log(數值+1) ÷ log 16⌉。校驗:數值與進位制兩項非空守衛。判據:無固定分級,對數上取整即該進製表示所需的最少位數。

支援 2-36 進位制。