Logo

Programming-Idioms

History of Idiom 66 > diff from v305 to v306

Edit summary for version 306 by :

Version 305

2015-10-29, 14:05:15

Version 306

2015-10-30, 17:42:12

Idiom #66 Big integer exponentiation

Calculate the result z of x power n, where x is a big integer and n is a positive integer.

Idiom #66 Big integer exponentiation

Calculate the result z of x power n, where x is a big integer and n is a positive integer.

Imports
import java.math.BigInteger;
Imports
Insufficient funds glucotrol 2.5 mg  Even if you decide to use an online multiple listing service, which comes with a small upfront fee, you’ll still save much more than if you had worked with a Realtor
 
Code
BigInteger z = x.pow(n);
Code
Insufficient funds glucotrol 2.5 mg  Even if you decide to use an online multiple listing service, which comes with a small upfront fee, you’ll still save much more than if you had worked with a Realtor
 
Comments bubble
This leaves x unchanged.
Doc URL
http://www.keohanecitymix.ie/prednisone-dosepak/
Origin
http://www.keohanecitymix.ie/prednisone-dosepak/
Demo URL
http://ideone.com/cDCzYo
Demo URL
http://www.keohanecitymix.ie/prednisone-dosepak/