EPICS Controls 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  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  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  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: mask for bitwise operation in CALC record
From: Andrew Johnson <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: Eric Norum <[email protected]>, [email protected]
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  2020  2021  2022  2023  2024 
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  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·