IRIX compile (PR#163)

mtim@farm.ecs.umass.edu mtim@farm.ecs.umass.edu
Sat, 10 Apr 1999 19:35:45 +0200


Full_Name: Tim Middelkoop
Version: 0.64.0
OS: IRIX 6.3 on O2
Submission from: (NULL) (128.119.88.192)


Various IRIX complile  issues

src/nmath/pnt.c
IRIX cc does not like double negatives

Makeconf,config.site,etc/Makeconf
f77 pic hack, should change Makeconf.in or other...
change -PIC with -KPIC

enjoy, tim...
===

diff -ru orig/R-0.64.0/src/nmath/pnt.c R-0.64.0/src/nmath/pnt.c
--- orig/R-0.64.0/src/nmath/pnt.c       Wed Apr  7 02:45:48 1999
+++ R-0.64.0/src/nmath/pnt.c    Sat Apr 10 13:02:45 1999
@@ -80,7 +80,7 @@
        del = -del;
     }
 
-    if (df > 4e5 || del*del > 2*M_LN2*(-DBL_MIN_EXP)) {
+    if (df > 4e5 || del*del > 2*M_LN2*(-(DBL_MIN_EXP))) {
        /*-- 2nd part: if del > 37.62, then p=0 below
          FIXME: test should depend on `df', `tt' AND `del' ! */
        /* Approx. from  Abramowitz & Stegun 26.7.10 (p.949) */










-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._