EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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  <20022003  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: NAN and INF
From: Marty Kraimer <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Wed, 10 Apr 2002 13:03:34 -0500


Jeff Hill wrote:

Marty,

I suggest that you create an operating system independent interface and
then implement it in each of the OS specific directories under
src/include/os in R3.13. I suspect that you have already made similar
changes in R3.14?





For 3.14 we already have epicsMath.h which defines epicsIsNAN.
I added a definition for epicsIsINF.


Before INF we only needed to provide epicsMath.h in


osi/os/posix
osi/os/WIN32
osi/os/vxWorks

For epicsIsINF I had to add

osi/os/solaris.


In order to make 3.13 more4 similar to 3.14, I will add epicsMath.h to


<base3_13>/src/libCom/os/*

With the message from Bob Soliday I think we are now OK for vxWorks, solaris, Linux (at least recent releases), and WIN32.

What about HPUX and VMS?


Also it would be nicer if we could use the names isnan and isinf instead of epicsIsNAN and epicsIsINF but code that uses these must include something in addition to math.h in order to be OSI independent.



I suggest the following:



Code that uses them must include epicsMath.h. The names will be isnan and isinf.



Any objections?


Marty



Replies:
Re: NAN and INF Benjamin Franksen
Re: NAN and INF Christopher Larrieu
References:
RE: NAN and INF Jeff Hill

Navigate by Date:
Prev: Re: NAN and INF Marty Kraimer
Next: Re: NAN and INF Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: NAN and INF Jeff Hill
Next: Re: NAN and INF Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  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 ·