best datatypes for exponential functions java code example Example: exponents java math.pow(number, power);