推 pmove: 要絕對準的話,就是要自己寫? 05/19 12:22
→ GeoMeTric: decimal module 05/19 13:47
推 kenduest: decimal 內沒看到 log2(), 但是有log10() ,轉一下 05/19 14:25
→ kenduest: from decimal import Decimal, getcontext 05/19 14:25
→ kenduest: getcontext().prec = 30 05/19 14:25
→ kenduest: r = Decimal(2**87-1).log10() / Decimal(2).log10() 05/19 14:26
→ kenduest: r 應該就是你要的? 05/19 14:26
→ s90104123: 感謝樓上的各位 05/19 18:00