[Solved] How to calculate any power of a base 2 number in Java by not using BigInteger?
I’m not sure I understand your problem completely, but if n is the binary number converted to a decimal number, then you are playing with way too large numbers. Consider the binary number as decimal. Your example would be the decimal number 4294969345. Just try to consider what 2^4294969345 would be. As an example 2^429 … Read more