JDK 9-ea + 181
============
exponent =500
time is 0.057837
total is 21474836470000000
time is 0.086028
total is 21474836470000000
time is 0.076491
total is 21474836470000000
time is 0.068744
total is 21474836470000000
time is 0.057852
total is 21474836470000000
time is 0.050860
total is 21474836470000000
time is 0.050132
total is 21474836470000000
time is 0.083023
total is 21474836470000000
time is 0.095025
total is 21474836470000000
time is 0.081689
total is 21474836470000000
time is 0.076063
total is 21474836470000000
exponent = 800
time is 0.067793
total is 21474836470000000
time is 0.102174
total is 21474836470000000
time is 0.089942
total is 21474836470000000
time is 0.099446
total is 21474836470000000
time is 0.096677
total is 21474836470000000
time is 0.099881
total is 21474836470000000
time is 0.096136
total is 21474836470000000
time is 0.087397
total is 21474836470000000
time is 0.094543
total is 21474836470000000
time is 0.094309
total is 21474836470000000
time is 0.082775
total is 21474836470000000
exponent = 1000
time is 0.069014
total is 21474836470000000
time is 0.096129
total is 21474836470000000
time is 0.097392
total is 21474836470000000
time is 0.083342
total is 21474836470000000
time is 0.082642
total is 21474836470000000
time is 0.099305
total is 21474836470000000
time is 0.096959
total is 21474836470000000
time is 0.098787
total is 21474836470000000
time is 0.098827
total is 21474836470000000
time is 0.098587
total is 21474836470000000
time is 0.098862
total is 21474836470000000