IRIX compile (PR#163)

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Sat, 10 Apr 1999 20:12:28 +0200 (CEST)


>>>>> mtim  writes:

> 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) */

Both fixed in 0.64.

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