commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1222) Use Double.isNaN(double) instead of x != x in FastMath
Date Tue, 05 May 2015 15:43:00 GMT
Benedikt Ritter created MATH-1222:
-------------------------------------

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


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)

Mime
View raw message