[Rd] hypot(x,y) instead of pythag(a,b) ?!

Prof Brian D Ripley ripley@stats.ox.ac.uk
Wed, 24 May 2000 14:07:12 +0100 (BST)


On Wed, 24 May 2000, Martin Maechler wrote:

> >>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
> 
>     BDR> This does all seem to me to be trying to solve a non-existent problem.
> 
> Not according to our own (R core) standards,
> which I thought to be roughly like 
> 
>  GOLD>> We require ANSI C 
>  GOLD>> and everything else must be tested for by configure
>  GOLD>>   (and worked around either be saying (warning) "is not available",
>  GOLD>>    or by providing own code).
>   
> I think hypot() definitely falls in that class, 
> particularly since it's not even POSIX [as of Lewine(1991)]

Still, it is a problem that has not (AFAIK) been reported by anyone, and
there is quite a list of outstanding bugs at R-bugs ....

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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