From terra@diku.dk  Thu Feb 28 20:54:29 2002
From: terra@diku.dk (terra@diku.dk)
Date: Thu, 28 Feb 2002 21:54:29 +0100 (MET)
Subject: [Rd] pexp.c (PR#1335)
Message-ID: <200202282054.VAA09998@pubhealth.ku.dk>

Full_Name: M Welinder
Version: 1.4
OS: (src)
Submission from: (NULL) (192.5.35.38)


It seems to me that pexp can be improved in the lower_tail=TRUE and log_p=FALSE
case by using expm1.  Something like

-expm1 (-x / scale);

I think.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] pexp.c (PR#1335)
terra@diku.dk