Am 11.07.2019 um 23:11 schrieb Allin Cottrell:
On Wed, 10 Jul 2019, Sven Schreiber wrote:
So in 2018 we cut through this mess: we redefined gretl's
"NA" as NaN.
No more policing required; NaNs propagate through calculation as per
IEEE rules (any arithmetical operation with NaN as an operand produces
NaN as result). Except... we kept the NA*0 = 0 rules for series, and
(semi-consistently, as you noted) for multiplication of matrices by
scalars.
It seems that even if an exception were made for series, that would not
imply making it for matrix/scalar operations. So irrespective of the
former decision, I think that 'matrix times NA (scalar)' should yield
NA/nan.
So my question is: should we now accept that we have no good reason
for
blocking the application of the IEEE rules for NaNs?
Probably. I haven't heard the argument for the series context, though.
thanks
sven