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
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