EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: bug report (little endian and IEEE FP)
From: Jeff Hill <[email protected]>
To: [email protected]
Date: Mon, 10 Feb 1997 13:03:52 -0700
Hello all,

A bug has been discovered in EPICS 3.12.2.

Conditions (all of the following are true):
-------------------------------------------
o client side program is running on a little endian machine
	with IEEE (not VAX) floating point
	=> PC
	=> dec alpha (running UNIX)
	=> others?
o double precision floating point data has been fetched
	by a CA get call back operation or a CA monitor
	operation

Symptoms:
---------
Least significant part of the double precision operand
is not byte swapped resulting in an incorrect value for
the portion of the data after the 8th digit or so (and
also, under rare circumstances, a floating point 
exception).

This problem does not occur in recent versions of EPICS
3.13 beta.

A patch has been applied to EPICS 3.12.2.

Thanks to Mark Rivers for discovering the problem and
also to Kay-Uwe Kasemir for fixing it.

Jeff

-- 
______________________________________________________________________
Jeffrey O. Hill                 Internet        [email protected]
LANL MS H820                    Voice           505 665 1831
Los Alamos, NM 87545 USA        FAX             505 665 5107


Navigate by Date:
Prev: mbbiDirect and mbboDirect changes in r3.13x Johnny Tang
Next: Re: Bug in gcc Mark Rivers
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  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: RE: mbbiDirect and mbboDirect changes in r3.13x Ron Chestnut
Next: Odd behavior in snc 1.8.3 Peregrine McGehee
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  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 ·