You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2015/05/05 17:43:00 UTC
[jira] [Created] (MATH-1222) Use Double.isNaN(double) instead of x
!= x in FastMath
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)