From ligges at statistik.uni-dortmund.de  Thu Oct 21 22:58:51 2004
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Thu Oct 21 22:53:43 2004
Subject: [Rd] pnorm problem (PR#7302)
In-Reply-To: <20041021201444.D19C510E96@slim.kubism.ku.dk>
References: <20041021201444.D19C510E96@slim.kubism.ku.dk>
Message-ID: <4178230B.3060909@statistik.uni-dortmund.de>

terra@gnome.org wrote:
> Full_Name: Morten Welinder
> Version: 2
> OS: Solaris(sparc)
> Submission from: (NULL) (65.213.85.208)
> 

Works for me with R-2.0.0, Solaris 5.7 (UltraSparc), gcc-3.2.3, 32-bit.
So you have to specify compiler version, OS version, R version etc. much 
more precisely.

Uwe Ligges


> (gdb) p pnorm(-100000.1, 0.0, 1.0, 0, 1)
> $42 = NaN(0xfffffffffffff)
> 
> Expected: -0
> 
> (gdb) p pnorm(-100000.0, 0.0, 1.0, 0, 1)
> $43 = -0
> 
> Good.
> 
> (I know this is not a typical usage.)
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] pnorm problem (PR#7302)
Uwe Ligges