On Tuesday 20 October 2009 19:02:37 Pierrick Gaudry wrote:
> On Tue, Oct 20, 2009 at 06:18:42PM +0100, Jason Moxham wrote:
> > Some of them are so old they are not in the gmp manual anyway :) , some
> > were from gmp version 1 or 2 back in 93?94? , perhaps we should just
> > define them with configure option --enable-gmpcompat ?
> > I think you have to make it slightly awkward for people to use the
> > old/undocumented/obsoleted functions otherwise nothing would ever change.
> > And without removing old stuff , mpir will get more and more complicated
> > .
>
> No problem if these are only enabled when gmpcompat flag is on.
>
> On the same topic, in the 1.3.0-rc1 manual, mpz_nextprime and
> mpz_probab_prime_p are tagged "obsolete", whereas in gmp manual they are
> still perfectly valid functions. I suggest to also add these "before
> fork" symbols when gmpcompat is active.
>

The functions will be available with and without gmpcompat for quite some time 
, a year or two or three ?

> I might be an isolated case, but I would really like to be able to write
> code that would run with both gmp and mpir, without having to recompile.
>

I doubt you are an isolated case , although clearly you would have to stick to 
the lowest common denominator . It's difficult to see how you could take 
advantage of any new features that are in one package but not the other , 
which depends on how closely the packages mirror each other. You would think 
that good ideas would end up in both packages although in slightly different 
forms , but there are other influences at work here , time will tell.

At the present time --enable-gmpcompat means compatible with gmp-4.2.1 ,4.3.? 
minus the old obsoleted functions we have removed.

> Pierrick.
>
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to