From ripley at stats.ox.ac.uk  Wed Nov 26 21:27:56 2003
From: ripley at stats.ox.ac.uk (Prof Brian D Ripley)
Date: Wed Nov 26 21:27:44 2003
Subject: [Rd] Power (^) 10x slower in R since version 1.7.1... What next?
	[Windows platform]
In-Reply-To: <MABBLJDICACNFOLGIHJOIEPIDOAA.phgrosjean@sciviews.org>
Message-ID: <Pine.WNT.4.44.0311262023290.476-101000@petrel>

You might like to test the enclosed.  Drop the file into .../src/gnuwin32
and edit the following line in Makefile there

OBJS = $(SOURCES:.c=.o) e_pow.o
                       ^^^^^^^^
Then re-make.  This uses an existing solution, that from glibc (which MinGW
will not want to use for licence reasons).  It's very fast and seems
as accurate.

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

[Rd] Power (^) 10x slower in R since version 1.7.1... What next? [Windows platform]
Prof Brian D Ripley