[Rd] R-devel on FreeBSD: Support for C99 complex type is required

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Feb 7 23:45:26 CET 2011


A follow-up on this.

Cygwin has recently[*] added support for C99 complex math, taken from 
NetBSD with code that is very similar to that from Steven Moshier 
available via http://www.moshier.net/c9x_readme.html.

That code isn't entirely right, especially not at the cuts on the 
inverse functions where C99 mandates what cut is used (and neither 
glibc nor Mac OS X have it correct).

I would expect that the current R-devel (I mean an SVN checkout now) 
should build on your platform, substituting the missing functions by 
ones based on earlier code.  There may be a few more tweaks required, 
but I have corrected several errors in the versions FreeBSD would have 
used in R 2.12.1.

[*] AFAICS not yet released in Cygwin, but in newlib 1.19.0.

-- 
Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list