#4446: New module complex_mpc using lib mpc for complex multiprecision
arithmetic
-------------------------------------------+--------------------------------
Reporter: thevenyp | Owner: mabshoff
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-4.4.4
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: William Stein, David Kirkby | Merged:
Work_issues: |
-------------------------------------------+--------------------------------
Comment(by drkirkby):
I was just about to post a long message and see Jason beat me to it.
Here is what I was going to write - some of it might be useful.
Dave
----------------------
Thank you Paul and Yann,
This clearly needs more than one person to agree to this, so I would think
it right the ticket is discussed on the sage-devel mailing list. Before
doing that, I just wanted to clarify if my understanding is correct. In
particular, I'd like to know if the following comments seem a reasonable
thing to post on sage-devel, asking if this should be a standard part of
Sage.
* MPC is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
* A trac ticket #4446 has been open for 20 months to add MPC to Sage,
with 37 comments on it.
* Although personally I don't know much about how this overlaps with
other components in Sage, a number of Sage developers have put a lot of
effort into ticket #4446, so there must be interest in this.
* I personally believe the MPC library code should be of high quality as
it is produced by a team of developers who in my personal opinion care
about quality.
* The MPC library is LGPL v 2.1+
* The license on one of the patches attached to the ticket #4446 is
ambiguous, saying just "GPL", with nothing about version number(s), but I
suspect that would be easy to resolve.
* Both Linux on x86 and Solaris 10 on SPARC are primary platforms for
MPC, but OS X is a secondary platform.
* FreeBSD on x86 is a platform where a Sage port is in progress. FreeBSD
is a primary platform for MPC,
* !OpenSolaris on x64, is a platform where a Sage port is in progress.
This is not listed as even a tertiary platform for MPC, though in practice
MPC passed all 57 tests for me on !OpenSolaris x64 using gcc 4.4.4. (This
was using Sage 4.4.4.alpha1, which uses MPIR 1.2.2 and MPFR 2.4.2.)
* Solaris 10 on x86, is a platform where a Sage port is in progress. This
is a tertiary platform for MPC, but with a report of all MPC library tests
passing.
* The Sage package initially presented for review (mpc-0.8.2svn793.spkg)
failed to even build the test suite on Solaris or !OpenSolaris, but a
revised edition of the Sage package passes all tests on Ubuntu 10.04
64-bit, Solaris 10 (SPARC) 32-bit and !OpenSolaris (x64) 64-bit. The
initial problem was a mistake in the packaging for Sage, rather than the
MPC library.
* The package present for review is based on an SVN snapshot. Paul
Zimmermann, an MPC developer, has said this minimal changes from the
stable 0.82 release. Those changes were made to address a performance
issue.
* The Sage package is not currently "optional", but would need to be
"standard". (There may or may not be ways of making it "optional", but
William's comments on the trac ticket tended to suggest it could not be.)
* The current package has not been tested much in Sage, and Yann who
submitted the package does not have much more time to spend on it, so will
not be asking William accounts to test on other platforms.
* Currently nobody has volunteered to maintain the package.
* A lot of work has been done on this ticket over a period of 20 months,
so it would be a shame if that is wasted.
* The MPC developers would appreciate a lot if the Sage developers could
tell them right now if they believe MPC will never become a standard
package, so they don't spend more time on ticket #4446.
Do you feel I've overlooked something, or that is inaccurate? If you
believe that is OK, I will ask on sage-devel if this should become a
standard part of Sage.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4446#comment:42>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.