title: How to deal with zero division in the equation of chicken swarm optimization
body: <p>I am working on chicken swarm optimization using Java and I am a little bit recently learner of Java.</p>
  <p>In the question below there are a small amount added to the equation of rooster position update to overcome the problem of division of zero.</p>
  <p>In Matlab there is something called <code>realmin</code> which returns the smallest positive normalized floating-point number in IEEE® double precision.</p>
  <p>Is there anything equivalent to this in java? I don't want to use exceptions.</p>
  <pre><code>tempSigma = Math.exp( (fitSortand_Index [anotherRooster ][1]  
          - fitSortand_Index [i][1]) / (Math.abs( fitSortand_Index[i][1]) + realmin ) );
  </code></pre>