EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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  <20042005  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: Andrew Johnson <[email protected]>
To: Kay-Uwe Kasemir <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 07 Oct 2004 17:43:42 -0500
Oops.

I will discuss with Marty how we should tackle this and what the "proper" behaviour of a record should be, but I definitely think that we need to review and fix the standard record types before the next release of Base. Thanks for the problem analysis, which Jeff has filed in Mantis as bug #144.

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()".

On R3.14.x epicsMath.h is an OS-specific header that ensures isnan() and isinf() are defined on all supported platforms, so detecting NaNs should be portable provided you include that header.


- Andrew
--
Dear God, I didn't think orange went with purple until I saw
the sunset you made last night.  That was really cool. - Caro


References:
Not-a-number (nan) issues Kay-Uwe Kasemir

Navigate by Date:
Prev: RE: Not-a-number (nan) issues Jeff Hill
Next: Re: Not-a-number (nan) issues Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Not-a-number (nan) issues Andrew Johnson
Next: Re: Not-a-number (nan) issues Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·