EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  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  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: select record versus dbpr() versus SPARC (at least)
From: Marty Kraimer <[email protected]>
To: Jim Thomas <[email protected]>
Cc: [email protected]
Date: Mon, 09 Dec 2002 09:54:16 -0600
Jim Thomas wrote:
Aloha,

Consider a select record with SELM == "Specified" (SELECTED in the code).
The select record initializes non-constant inputs to 1e+30 .  Then on
processing, only the selected input is fetched (contrary to the
documentation).  That leaves non-selected links as 1e+30 .  Then if one
tries a dbpr on that record, on a SPARC at least, one gets a floating point
exception in dbStatic/dbStaticRun.c:realToString at intval=value; .  Since
that may happen on other architectures too, it seems like a check against
MAXINT is warranted around the easy integer case?

Jim



I could not reproduce this but I do agree that it is a good idea to check for int_max. I will make the changes for release 3.14.1


Thanks,

Marty


References:
select record versus dbpr() versus SPARC (at least) Jim Thomas

Navigate by Date:
Prev: select record versus dbpr() versus SPARC (at least) Jim Thomas
Next: Re: select record versus dbpr() versus SPARC (at least) Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: select record versus dbpr() versus SPARC (at least) Jim Thomas
Next: Re: select record versus dbpr() versus SPARC (at least) Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  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 ·