R-beta: R-0.62.1 under Digital Unix

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Jul 3 20:16:48 CEST 1998


Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk> writes:

>     (on    n = abs(n2 - n1) + 1 + FLT_EPSILON;)
..
> This really should be fabs on all platforms, I think. 

Correction: It's patently obvious that it should! Otherwise, all the
rounding is in the implicit cast of (n2 - n1) to integer and the
FLT_EPSILON safeguard against truncation has no effect. Fixed for next
release.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list