title: biginteger calculation problem
body: <p>I am using the following code but the parameters are not passed to the methods.</p>
  
  <pre><code>BigInteger p = BigInteger.valueOf(0);
  BigInteger u1 = obj.bigi_calc(g1, l);
  </code></pre>
  
  <p>In this g1,l are long values.</p>
  
  <p>The method is</p>
  
  <pre><code>private BigInteger bigi_calc(long g1, long l){           
  
          BigInteger cal = BigInteger.valueOf(g1);
          BigInteger cal1= BigInteger.valueOf(l);
          for(BigInteger f = BigInteger.ONE;f.compareTo(cal1)&gt;0;f=f.add(BigInteger.ONE)){
              //BigInteger p= BigInteger.valueOf(0);
              p = cal.multiply(cal1);
              System.out.println("check p"+p);
          }
      //  System.out.println("check p"+p);
          return p;
      }
  </code></pre>
  
  <p>The elipse shows that it may be out of sync, but the parameters are not passed to the functions.
  Can you please help me to solve this problem?</p>