EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  1997  <19981999  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: Re: SNL v1.9.2 bug?
From: [email protected] (William Lupton)
To: [email protected], [email protected]
Date: Thu, 1 Oct 1998 09:55:18 -1000
Pete Jemian wrote:
>Is this a bug in the SNL v1.9.2?
>
>#define ERRVALUE  9.90E+09   /* bad macro definition */
>#define ERRVALUE  9900000000 /* good macro definition */

The SNL lex does not appear to support scientific notation for floating
point numbers. Amazing. Here's the relevant bit:

FPNUM   (([0-9]+)(\.[0-9]*)?)|(\.[0-9]+)

I will look into changing the definition to support any valid C floating
point number syntax. In the meantime, keep typing those zeroes.

William

Navigate by Date:
Prev: SNL v1.9.2 bug? Pete Jemian
Next: no more email Ron Aguilar
Index: 1994  1995  1996  1997  <19981999  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: SNL v1.9.2 bug? Pete Jemian
Next: Re: SNL v1.9.2 bug? William Lupton
Index: 1994  1995  1996  1997  <19981999  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 ·