#4446: New module complex_mpc using lib mpc for complex multiprecision
arithmetic
--------------------------------+-------------------------------------------
Reporter: thevenyp | Owner: mabshoff
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.4.2
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Comment(by jason):
Replying to [comment:26 jason]:
> Paul,
>
> Now with MPC 0.8.2, mpz_pow_ui is fast, but mpz_pow_si is still slow.
As the MPC Sage code is written right now, calls are made to mpz_pow_si,
mpz_pow_z, or mpz_pow, depending on the type of argument. Each of these
are still 5-6 slower than Sage's complex number type.
>
I mean: each of these calls (mpz_pow[_si|_z]) results in operations that
are 5-6 times as long as Sage's complex type (~35 microseconds vs. ~200
microseconds).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4446#comment:27>
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.