Ticket #4446 (needs_review enhancement)
New module complex_mpc using lib mpc for complex multiprecision arithmetic
| Reported by: | thevenyp | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.5.3 |
| Component: | basic arithmetic | Keywords: | |
| Cc: | robertwb, was | Author(s): | Philippe Theveny, Alex Ghitza, Yann Laigle-Chapuy |
| Report Upstream: | N/A | Reviewer(s): | William Stein, David Kirkby |
| Merged in: | Work issues: |
Description
Herewith and there ( http://www.loria.fr/~thevenyp/complex_mpc.patch 38K) is a patch with new classes using the MPC library for complex multi-precision arithmetic (see ticket #4308 for the associated spackage).
This is an adaptation of the module real_mpfr and of ComplexField? and ComplexNumber classes. It adds a class MPComplexField with precision (common to both part) and rounding modes (specific to each part) and a class MPComplexNumber.
This first attempt implements only the complex arithmetic.
The test suite does fail due to coercion problems I can't solve.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

