title: Implement Generic Power Function Without Using Math.pow in Java
body: <p>I want to write a program in java, which will perform a number raised to a power, but without using math.pow. The program should be generic to include fractions as well.
  The loop increment method will increment by 1, which is okay for integers; but not fractions. Please Suggest a generic method that would be helpful to me.</p>