Java math conversion
<p>I have this code in C++</p>

<pre><code>float result = -log(result)/0.5231-1.0;
</code></pre>

<p>And I converted that into Java code like this</p>

<pre><code>float result = (float) (-Math.log(result)/0.5231-1.0);
</code></pre>

<p>Is this correct way to convert the c++ code?</p>
