|
From: Hans-Bernhard B. <HBB...@t-...> - 2014-11-04 14:52:17
|
Am 04.11.2014 um 05:48 schrieb Ethan Merritt: > Update of /cvsroot/gnuplot/gnuplot > In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv22050 > > Modified Files: > ChangeLog > Log Message: > if $2 is NaN, plot FOO using 1:(oops=f($2)) should set oops to NaN I have to disagree with that reasoning. It fails to cover the case where f() doesn't actually use its argument arithmetically. E.g. if f(x) = (x > 0) ? (counter = counter + 1) : counter then f(NaN) yields the current value of "counter". It doesn't yield NaN, so neither should the above "oops" receive such a value. |