Experimental Physics and Industrial Control System
Ralph Lange wrote:
>>>>>>"Dirk" == Dirk Zimoch <[email protected]> writes:
>>>>>
>
> > I suggest the following:
> > PREC >= 0 means to format the value like printf("%.*f",PREC,VAL);
> > PREC < 0 means to format the value like printf("%.*e",-PREC,VAL);
>
> Interesting idea.
>
> How do you make sure that existing clients do not go beserk when they
> get a negative precision value from Channel Access (which they don't
> expect)?
>
Do they now? Nothing keeps me from using negative PREC values at the moment.
Dirk
--
Dr. Dirk Zimoch
Swiss Light Source
Paul Scherrer Institut
Computing and Controls
phone +41 56 310 5182
fax +41 56 310 4413
- References:
- PREC Dirk Zimoch
- Re: PREC Ralph Lange
- Navigate by Date:
- Prev:
Re: PREC Ralph Lange
- Next:
Re: PREC Marty Kraimer
- 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
2025
- Navigate by Thread:
- Prev:
Re: PREC Ralph Lange
- Next:
Re: PREC Ralph Lange
- 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
2025