#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.3.4
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Comment(by zimmerma):
By studying what happens with the powint example, there was a failure in
Ziv's strategy, thus we
did compute two approximations, one with precision 511 bits (which was not
enough), and one with
a larger precision. By adding one more guard bit, the first approximation
with 512 bits is enough
to get correct rounding, and we now get 131us per loop instead of 260us
(in vanilla MPC). A further
gain could be obtained if we get rid of the mpc_log call to detect
overflow or underflow: we would
then get 113us. But of course the definite solution will be to implement
binary exponentiation.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4446#comment:21>
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.