EPICS Home

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  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: mask for bitwise operation in CALC record
From: Andrew Johnson <anj@aps.anl.gov>
To: Dirk Zimoch <dirk.zimoch@psi.ch>
Cc: Eric Norum <wenorum@lbl.gov>, tech-talk@aps.anl.gov
Date: Wed, 6 Jun 2012 11:23:15 -0500
Hi Dirk,

On 2012-06-06 Dirk Zimoch wrote:
> I had assumed that the primary application for hex numbers would be bit
> masks. Signed masks do not make much sense but 0x80000000 does make
> sense. Maybe we should test for minus and then either call strtol() or
> strtoul().

Agreed, I will do that (currently writing lots of tests...).

- Andrew
-- 
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte

Replies:
Re: mask for bitwise operation in CALC record haquin
References:
mask for bitwise operation in CALC record haquin
Re: mask for bitwise operation in CALC record Eric Norum
Re: mask for bitwise operation in CALC record Dirk Zimoch

Navigate by Date:
Prev: Re: [CSS] text edit + Go! button Kasemir, Kay
Next: Re: [CSS] text edit + Go! button Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: mask for bitwise operation in CALC record Dirk Zimoch
Next: Re: mask for bitwise operation in CALC record haquin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019