Skip to content

Commit

Permalink
fixed files form Math #10
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent bfecdc6 commit dabfee8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,7 @@ public void atan2(final double[] y, final int yOffset,
}

// fix value to take special cases (+0/+0, +0/-0, -0/+0, -0/-0, +/-infinity) correctly
result[resultOffset] = FastMath.atan2(y[yOffset], x[xOffset]);

}

Expand Down

0 comments on commit dabfee8

Please sign in to comment.