1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 <2004> 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Not-a-number (nan) issues |
From: | Marty Kraimer <[email protected]> |
To: | Kay-Uwe Kasemir <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 08 Oct 2004 06:10:23 -0500 |
Greetings!
How do you catch NaN? Different from most C/C++ compilers and standard C/C++ libraries, the one we use for vxWorks/Tornado 2.0.2 does not define "isnan()". Shen Peng suggested to use something like this: #define isnan(x) ((x)!=(x)) Who knows if this works in all cases?
VMS/epicsMath.h alpha/epicsMath.h solaris/epicsMath.h WIN32/epicsMath.h posix/epicsMath.h vxWorks/epicsMath.h
This is documented in the 3.14 Application Developer's Guide. Look in the index for epicsMath