On Monday 19 October 2009 04:43:31 Bill Hart wrote: > For the release, I'd like to prepare a list of all functions which: > > 1) Were obsoleted long ago, which we have now removed >
These were documented as being obsolete and have been removed gmp_randinit mpn_divmod mpz_random mpz_random2 > 2) Which were already obsoleted in GMP and still obsoleted (but not > yet removed) in MPIR > These are documented as being obsolete and we have left them in (still marked obsolete) mpn_divrem mpn_divmod_1 at some stage we will decide what is to be done... > 3) Which we have subsequently obsoleted, and a short explanation why, > including any replacements we have provided > We have obsoleted these functions mpz_nextprime , mpz_probab_prime_p as they used a global variable for random state use replacements mpz_next_likely_prime_p , mpz_probable_prime_p , mpz_likely_prime_p mpz_array_init potentially breaks future enhancements to mpir , no replacement is available. mpf_random2 , mpn_random , mpn_random2 as they used a global variable for random state use replacements mpf_rrandomb , mpn_urandomb , mpn_urandomm , mpn_randomb , mpn_rrandom I wont put any description of which replacements you should use , read the manual , if that is not clear , then we need to improve the description in the manual. Some very old gmp ver1 symbols,typedefs and defines have been removed. Global variable __gmp_errno is gone as well. There is another "rands" global var to go before we enable MT , it's still there for the moment to support the obsoleted mpn-random , mpn_random2 , mpf_random2 functions ( note the obsoleted mpz_nextprime , mpz_probab_prime do NOT need it though ) > Jason, you probably have the greatest knowledge of what has changed. > Could you write this? I'll clean it up and put it on the website. > I think that is it , it only been a few weeks , and already I can't remember what I have done ;) > Bill. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
