g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
<== Date ==> <== Thread ==>

Subject: Re: mask for bitwise operation in CALC record
From: haquin <haquin@ganil.fr>
To: Andrew Johnson <anj@aps.anl.gov>, tech-talk <tech-talk@aps.anl.gov>
Date: Mon, 3 Dec 2012 10:44:29 +0100
Hello Andrew,
I have seen on the website 3.15.0.1 release available, is it reliable ? if not,
Have you more visibility on when 3.15.1 will be released ?
If not soon, could this be patched in 3.14.12.2 ?

Best Regards.

Le 05/07/2012 18:31, Andrew Johnson a écrit :
Hi,

On 2012-07-04 haquin wrote:
Will this modification be integrated in the next EPICS release ? when ?
Thanks to your reminder I have implemented this on the 3.15 branch.  However
the 3.15.0.x releases which we're currently working on are not intended for
operational use, and at this stage I can't predict when the first operational
release 3.15.1 will be out -- sorry!

On 2012-07-04 michael.abbott@diamond.ac.uk wrote:
I'm pretty sure it's always safe to strtoul(), the behaviour in the
presence of a minus sign seems well defined in the man page I'm reading
and I've certainly not encountered problems using it.
You're right, and since the conversation on this topic I read up on this and
have added a set of fully tested APIs to libCom in the 3.15 branch for parsing
ASCII numbers into the various epicsInt* and epicsUInt* types, testing for
overflows in all cases.

Literals that start 0x or 0X will be parsed by epicsCalc as an epicsUInt32.
Other literals will be parsed using epicsStrtod() as before.  That means it
will not be possible to use hex floating-point literals in 3.15, although they
may have worked in earlier releases on platforms where strtod() supports them.

- Andrew

begin:vcard
fn:Christophe Haquin
n:Haquin;Christophe
email;internet:haquin@ganil.fr
tel;work:02 31 45 46 61
x-mozilla-html:FALSE
version:2.1
end:vcard


Replies:
Re: mask for bitwise operation in CALC record Andrew Johnson
References:
mask for bitwise operation in CALC record haquin
Re: mask for bitwise operation in CALC record haquin
RE: mask for bitwise operation in CALC record michael.abbott
Re: mask for bitwise operation in CALC record Andrew Johnson

Navigate by Date:
Prev: mbuf depletion on vxWorks 5.5.2 with VME5100 Mark Rivers
Next: Re: Using CAJ in production Matej Sekoranja
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
Navigate by Thread:
Prev: Re: mask for bitwise operation in CALC record Andrew Johnson
Next: Re: mask for bitwise operation in CALC record Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·