Re: [R] phyper returns negative results

2007-10-02 Thread Prof Brian Ripley
On Tue, 2 Oct 2007, Bastian Angermann wrote: > Dear R-users, > > In R 2.5.1 on Windows XP, SP2 the call to > phyper(0,0,74,3,lower.tail=FALSE) returns -4.195862e-17. This does not > happen with R2.5.1 on Linux, 0 is returned. Is this a bug (and should be > reported as such), since phyper should

[R] phyper returns negative results

2007-10-02 Thread Bastian Angermann
Dear R-users, In R 2.5.1 on Windows XP, SP2 the call to phyper(0,0,74,3,lower.tail=FALSE) returns -4.195862e-17. This does not happen with R2.5.1 on Linux, 0 is returned. Is this a bug (and should be reported as such), since phyper should not return negative values, or is this considered as one