[5/7] [math] Use Double.isNaN rather than x != x in FastMath.

2015-05-15 Thread luc
Use Double.isNaN rather than x != x in FastMath. Thanks to Benedikt Ritter. Github: closes #5. JIRA: MATH-1222 Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/903f2805 Tree: http://git-wip-us.apache.org/repos/as

[math] Use Double.isNaN rather than x != x in FastMath.

2015-05-09 Thread luc
Repository: commons-math Updated Branches: refs/heads/master 35ad94090 -> 903f28059 Use Double.isNaN rather than x != x in FastMath. Thanks to Benedikt Ritter. Github: closes #5. JIRA: MATH-1222 Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apach