Changes between Initial Version and Version 1 of Ticket #22928, comment 17


Ignore:
Timestamp:
05/18/17 16:05:36 (2 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22928, comment 17

    initial v1  
    1 With [https://github.com/aleaxit/gmpy/pull/137 PR #137 from gmpy2] you can get rid of the function `get_gmpy2_path()` and most of the declarations in `sage/libs/gmpy2.pxd`.
     1With [https://github.com/aleaxit/gmpy/pull/137 PR #137 from gmpy2]
     2
     3- you can get rid of the function `get_gmpy2_path()` and most of the declarations in `sage/libs/gmpy2.pxd`.
     4
     5- you can add tests for conversions using the methods `__mpz__` and `__mpq__`
     6{{{
     7sage: import gmpy2
     8sage: gmpy2.mpz(23)
     9}}}
     10  and
     11{{{
     12sage: import gmpy2
     13sage: gmpy2.mpq(12/14)   
     14}}}