title: difference in Math.cbrt() and Math.pow()
body: <p>Why does <code>Math.cbrt(a)</code> give a different result than <code>Math.pow(a, (1/3))</code>?</p>
  
  <pre><code>public class HelloWorld{
  
   public static void main(String []args){
  
     int a=8;
  
     System.out.println(Math.cbrt(a));
  
     System.out.println(Math.pow(a,(1/3)));
   }
  }
  </code></pre>
  
  <p>soln</p>
  
  <p>2.0
  1.0</p>
  
  <p>why is there a discrepancy? Is my math wrong or syntax wrong or something that gotta do with pow?</p>