EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Epics SIGFPE?
From: Matthieu Bec <[email protected]>
To: epics <[email protected]>
Date: Thu, 12 Nov 2009 12:30:37 -0300

R3.14.11 brings two new math constants epicsNAN and epicsINF. That appears to break our channel access plugin for Yorick, because the interpreter enables and is setup to catch SIGFPE.

C99 provides macros so you don't have to 'make' the value. I patched our src/libCom/osi/epicsMath.cpp. I don't guarantee this to be osi-generic and all platforms. It works for linux-x86/x86_64

diff src/libCom/osi/epicsMath.cpp src/libCom/osi/epicsMath.cpp.org
30,32d29
< #ifdef NAN
< epicsShareDef float epicsNAN = NAN;
< #else
34,37d30
< #endif
< #ifdef INFINITY
< epicsShareDef float epicsINF = INFINITY;
< #else
39d31
< #endif


Matthieu

--
Matthieu Bec              Gemini Observatory
Tel: +56 51 205785        c/o AURA, Casilla 603
Fax: +56 51 205650        La Serena, Chile

Navigate by Date:
Prev: 3.14.10 on vxWorks and RTEMs Mark Rivers
Next: Fw: asyn problem tanushyam bhattacharjee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: 3.14.10 on vxWorks and RTEMs Mark Rivers
Next: Fw: asyn problem tanushyam bhattacharjee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024