"final" keyword.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1581381 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2014-03-25 15:48:28 +00:00
parent 1879cf1a3d
commit 6ab8b14847
1 changed files with 1 additions and 1 deletions

View File

@ -2433,7 +2433,6 @@ public class FastMath {
*/
private static double atan(double xa, double xb, boolean leftPlane) {
boolean negate = false;
int idx;
if (xa == 0.0) { // Matches +/- 0.0; return correct sign
return leftPlane ? copySign(Math.PI, xa) : xa;
@ -2451,6 +2450,7 @@ public class FastMath {
}
/* Estimate the closest tabulated arctan value, compute eps = xa-tangentTable */
final int idx;
if (xa < 1) {
idx = (int) (((-1.7168146928204136 * xa * xa + 8.0) * xa) + 0.5);
} else {