Skip to main content

All Questions

0 votes
0 answers
66 views

Approximate logarithm of BigInteger [duplicate]

I am looking for a fast way to approximate the logarithm base 2 of a BigInteger. Speed and support for large numbers are more important than exact results. My current suggestion is: return BigInteger....
aka's user avatar
  • 2,753