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: calc and calcout records in EPICS 3.14.6
From: "Thompson, David H." <[email protected]>
To: "Singleton, SJ (Steve)" <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Wed, 17 Nov 2004 10:02:17 -0500
Oh you are right! I guess in the case of the calc record processing the
result would be assigned to a double wouldn't it?

Thanks for pointing that out.

The request for testers still stands, thanks!

-----Original Message-----
From: Singleton, SJ (Steve) [mailto:[email protected]] 
Sent: Wednesday, November 17, 2004 9:11 AM
To: Thompson, David H.
Subject: RE: calc and calcout records in EPICS 3.14.6

Hello David,

Isn't there a mistake in the test you give below?  From my experience
the
fault only shows up if you assign the result of the comparison to a
double,
not to an int.   I therefore think the test should be:

double stack[]={0.0,1.0};
double * pStack=&stack[0];

double i=(*pStack==*(pStack+1));

Regards
Steve




Replies:
Re: calc and calcout records in EPICS 3.14.6 Lawrence T. Hoff

Navigate by Date:
Prev: Re: calc and calcout records in EPICS 3.14.6 Ronald L. Sluiter
Next: Re: calc and calcout records in EPICS 3.14.6 Lawrence T. Hoff
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: calc and calcout records in EPICS 3.14.6 Thompson, David H.
Next: Re: calc and calcout records in EPICS 3.14.6 Lawrence T. Hoff
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 ·