title: Java - Faster alternative to Math.pow() and Math.sqrt()
body: <p>My program uses <code>Math.pow()</code> to compute a relatively large double number to the power of 2. Later on I need to find the square root of a very large double number. The problem is, I have to do this over a 100,000 times and it is taking really long. Is there any alternative that can speed this process up? Thanks</p>
  
  <p>Edit: By large numbers I mean between 1000 to 10000 (So probably not that large in computing terms). And in terms of it taking a long time, it takes about 30 secs to do the function 500 times</p>