[EMAIL PROTECTED] wrote:
> 
> Ok, I've cleaned up the Mlucas 2.6 source code and I think we're
> ready to take a crack at a C version. The revised source (which

[...]

> With v2.5, Gord Palameta was
> able (using an automated translator and subsequent manual work) to
> get a decent C version in a remarkably short time; Brian Beuning

Well, actually the automated translator (based on f2c) produced
code that was too messy to clean up, so I ended up doing the whole
thing manually.  Not particularly difficult, just a bit tedious
transposing subscripts and making them 0-based.

I can probably do the same for 2.6 within a week or so, time permitting.
That would produce a version that compiles and executes the same as the
Fortran original, but presumably more slowly because of aliasing in C
preventing some compiler optimizations that Fortran can do.

Once there's working C code, I can hand it off to the other folks on
the list for optimizing or writing the interfaces that Ernst described...
which will probably be the bulk of the work :-)

Gord

_________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to