Tue, 13 Jul 1999 18:36:57 +0200 (CEST)
>>>>> Peter Dalgaard BSA writes:
> Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:
>> Hmm ... Compilation-wise it seems that -D_ALL_SOURCE works o.k. for me.
>> Now, this gives
>> > 1/0 + 1/0# Inf
>> > 1/0 - 1/0# NaN
>> which is only sort of o.k.???
> No! ...which is patently WRONG. When this kind of printout, it shows
> that the print routines in R are not able to recognize Inf and NaN
> (using R_FINITE) which implies that they aren't properly recognized
> anywhere else.
>> For the time being, I'll commit this version ...
> Not for long, I hope...
On the system I have access to, I can compile only with
-D_XOPEN_SOURCE_EXTENDED=2 (VERY noisy)
In either case, we get the above.
I will hence use ALL_SOURCE for the time being.
> 1/0 - 1/0# NaN
> is.nan(1/0 - 1/0)
so what is really going on here???
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com