&#62;&#62; sqrt, sin and tan for small values are just as fast as their C equivalents &#60;&#60;<p>So always use small values?<p><a href="http://shootout.alioth.debian.org/gp4/program.php?test=partialsums&#38;lang=java&#38;id=4#sourcecode" rel="nofollow">http://shootout.alioth.debian.org/gp4/program.php?test=parti...</a>