Changes between Version 5 and Version 11 of Ticket #22928


Ignore:
Timestamp:
05/18/17 13:52:52 (3 years ago)
Author:
vklein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22928

    • Property Branch changed from to u/vklein/conversion_between_gmpy2_and_sage_integers
    • Property Commit changed from to 54c04ae7c0bf7d48ca89c1e21c4184133e4c6a9c
  • Ticket #22928 – Description

    v5 v11  
    44- Add conversion functions from gmpy2's mpz and mpq to sage integer and rational.
    55- Provide coercion.
     6
     7Once gmpy2 is a standard package with the following features :
     8- direct constructors GMPy_MPZ_From_mpz, GMPy_MPQ_From_mpq, GMPy_MPQ_From_mpz
     9- a gmpy2.pxd file with relevant declarations (to be installed at the same place as gmpy2.h)
     10- #136 robust header detection (ie what should the user do in her setup.py to find out where gmpy2.h/gmpy2.pxd are?)
     11see : [https://github.com/aleaxit/gmpy/pull/134 #134], [https://github.com/aleaxit/gmpy/issues/136136].
     12
     13Then remove sage.libs.gmpy2 extension and replace conversion functions gmpy2_mpz_to_sage and gmpy2_mpq_to_sage by having sage integer and rational constructors working with gmpy2 number