octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is NaN used as extrapolation value?


From: Søren Hauberg
Subject: Re: Why is NaN used as extrapolation value?
Date: Mon, 18 Jun 2007 11:10:14 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

David Bateman skrev:
Søren Hauberg wrote:

David Bateman skrev:
Søren Hauberg wrote:
Would this cause incompatibilities? I mean, 'isnan(NA)' produces
'true' since 'NA' is a NaN.
I'm sure some users will find a way to make it incompatible like "(val
== NaN)" for example :-)
Hey, now you're just making stuff up :-)
That wouldn't work since 'NaN ==NaN' returns false.
Soren,

I have no objections to such a change, but only if it doesn't cause more
bug reports. If you are sure that the only way to check for NaN is the
"isnan" function then why not..
I just realised my previous mail might have sounded rude (it wasn't meant as such). Anyway, I'll cook up a patch tonight unless somebody gives me reason not to. Then we'll see what happens...

Søren


reply via email to

[Prev in Thread] Current Thread [Next in Thread]