[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: handling NaN
From: |
John W. Eaton |
Subject: |
Re: handling NaN |
Date: |
Thu, 8 Aug 2002 11:45:26 -0500 |
On 8-Aug-2002, Paul Kienzle <address@hidden> wrote:
| It might work better to do the following: Use NaN for missing values and
| treat it appropriately in the stats functions as Alois is doing, but make
| use of the ieeefp invalid operation sticky bit. Every time octave returns
| to the command line it could test and report that sticky bit was set and
| clear it before the next command. That way the user will always be
| informed of an unexpected NaN, and expected NaNs are ignored. Note that we
| will also need functions to test and clear the sticky bit within our
| scripts so that the user is not notified about NaNs we have already
| accounted for.
I think I'd rather have a specific NA value. But it would also be
useful to have Octave be more IEEE FP aware, so that users can
explicitly say what they want to have happen when exceptions occur,
set rounding modes, etc.
jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Re: handling NaN, Schloegl Alois, 2002/08/05
- Re: handling NaN, Schloegl Alois, 2002/08/07
- Re: handling NaN, Paul Kienzle, 2002/08/08
- Re: handling NaN, John W. Eaton, 2002/08/08
- Re: handling NaN, Paul Kienzle, 2002/08/08
- Re: handling NaN, John W. Eaton, 2002/08/08
- Re: handling NaN, John W. Eaton, 2002/08/08
- Re: handling NaN, John W. Eaton, 2002/08/08
- Re: handling NaN,
John W. Eaton <=
- Re: handling NaN, Schloegl Alois, 2002/08/13
- Re: handling NaN, Paul Kienzle, 2002/08/13
- Re: handling NaN, Schloegl Alois, 2002/08/13
- windows installation question, Helen Tang, 2002/08/13
Re: handling NaN, Dirk Eddelbuettel, 2002/08/08