From terra@diku.dk  Mon Jan  7 15:19:10 2002
From: terra@diku.dk (Morten Welinder)
Date: 7 Jan 2002 15:19:10 -0000
Subject: [Rd] qbeta function (FYI, compiler bug)
Message-ID: <20020107151910.14705.qmail@tyr.diku.dk>


Hi there,

this is just to let you know that the qbeta function, which was
copied from R into Gnumeric, has been confirmed to be miscompiled
by gcc 2.96 on Linux.  (That's Red Hat's compiler.)

This shows by qbeta(0.025,4,0.5) ending up taking the wrong
branch of "if (alpha <= 0.5)".

We compile things in a different context, so this may or may not
affect you.  The qbeta function was taken from R 0.64.

Morten

http://www.gnome.org/gnumeric/
http://bugzilla.gnome.org/show_bug.cgi?id=68057
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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] qbeta function (FYI, compiler bug)
Morten Welinder