[
https://issues.apache.org/jira/browse/MATH-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14528717#comment-14528717
]
Benedikt Ritter commented on MATH-1222:
---------------------------------------
Creates a PR https://github.com/apache/commons-math/pull/5
> Use Double.isNaN(double) instead of x != x in FastMath
> ------------------------------------------------------
>
> Key: MATH-1222
> URL: https://issues.apache.org/jira/browse/MATH-1222
> Project: Commons Math
> Issue Type: Task
> Reporter: Benedikt Ritter
> Labels: github
>
> As discussed in http://markmail.org/thread/f6juilawhswblnve we should use
> Double.isNaN(double) for checking whether a double is NaN in FastMath instead
> of using the odd looking x != x comparison.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)