Skip to content

New module complex_mpc using lib mpc for complex multiprecision arithmetic #4446

@sagetrac-thevenyp

Description

@sagetrac-thevenyp

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.

CC: @robertwb @williamstein @mwhansen @sagetrac-mvngu @haraldschilly @nexttime

Component: basic arithmetic

Author: Philippe Theveny, Alex Ghitza, Yann Laigle-Chapuy

Reviewer: William Stein, David Kirkby, Paul Zimmermann, Mitesh Patel

Merged: sage-4.6.alpha2

Issue created by migration from https://trac.sagemath.org/ticket/4446

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions