R-alpha: R0.13 bugs

Kurt Hornik (Kurt.Hornik@ci.tuwien.ac.at)
Wed, 13 Nov 1996 12:08:35 +0100


Date: Wed, 13 Nov 1996 12:08:35 +0100
Message-Id: <199611131108.MAA12985@aragorn.ci.tuwien.ac.at>
From: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
To: Jim Lindsey <jlindsey@luc.ac.be>
Subject: R-alpha: R0.13 bugs
In-Reply-To: <9611130850.AA04330@alpha.luc.ac.be>

>>>>> On Wed, 13 Nov 1996 09:50:51 +0100 (MET),
>>>>> Jim Lindsey <jlindsey@luc.ac.be> said:

> 2. 0.5^0 gives NA
>   This is a deliberate programming choice with which I strongly 
>   disagree: we can no longer even calculate a binomial probability!
>   As well, pow() in C gives the right answer: 0.5^0=1!!  
>   Thus, the tests in arithmetic.c for POWOP should be removed:
>   integer -  || x2==0
>   real    -  && x2!=0

Definitely.

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-