Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021 
<== Date ==> <== Thread ==>

Subject: RE: ABS() in calc record
From: "Laznovsky Michael (PSI)" <michael.laznovsky@psi.ch>
To: "'tech-talk@aps.anl.gov'" <tech-talk@aps.anl.gov>, "'core-talk@aps.anl.gov'" <core-talk@aps.anl.gov>
Date: Sat, 21 May 2016 11:22:38 +0000
> implentation
 
implementation :))
 
This also makes me realize that all those years of writing
 
        #define ABS(X) ((X) < 0 ? -(X) : (X))
 
have been wrong, -ish.   At least for display purposes.
 
Now back to your regular programming [sic]...
 
 
 

References:
ABS() in calc record Laznovsky Michael (PSI)

Navigate by Date:
Prev: ABS() in calc record Laznovsky Michael (PSI)
Next: Build failed in Jenkins: epics-base-3.15-win32-test #60 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021 
Navigate by Thread:
Prev: ABS() in calc record Laznovsky Michael (PSI)
Next: Build failed in Jenkins: epics-base-3.15-win32-test #60 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021 
ANJ, 22 May 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·