faheel / BigInt

Arbitrary-sized integer class for C++
https://faheel.github.io/BigInt
MIT License
390 stars 132 forks source link

`log()` support #71

Closed 00001H closed 1 year ago

00001H commented 1 year ago

Add support for log2(x), log10(x), PROBABLY loge(x)(though it might be tricky), and then implement log(a,b) using the formula log_a(b) = log2(b)/log2(a)