Experimental Physics and Industrial Control System
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
<1998>
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:
SNL v1.9.2 bug? Pete Jemian
- Next:
Re: SNL v1.9.2 bug? William Lupton
- Index:
1994
1995
1996
1997
<1998>
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