[Rd] Benefit of treating NA and NaN differently for numerics

From: Saptarshi Guha <saptarshi.guha_at_gmail.com>
Date: Thu, 31 Dec 2009 15:43:43 -0500


Hello,
I notice in main/arithmetic.c, that NA and NaN are encoded differently(since every numeric NA comes from R_NaReal which is defined via ValueOfNA)
. What is the benefit of treating these two differently? Why can't NA be a synonym for NaN?

Thank you
Saptarshi

(R-2.9)



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 31 Dec 2009 - 20:47:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 31 Dec 2009 - 23:40:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive