I was about to suggest something crude that abuses the 2^n bitshift relationship of 1 << n:
int n = 7830457;
BigInteger base = new BigInteger( "1" );
BigInteger result = base.shiftLeft(n);
...
Type: Posts; User: ChristopherLowe
I was about to suggest something crude that abuses the 2^n bitshift relationship of 1 << n:
int n = 7830457;
BigInteger base = new BigInteger( "1" );
BigInteger result = base.shiftLeft(n);
...