#7822: pynac log function cannot handle float arguments <= 0
-------------------------+--------------------------------------------------
Reporter: burcin | Owner: burcin
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3.1
Component: symbolics | Keywords:
Work_issues: | Author: Burcin Erocal
Upstream: N/A | Reviewer:
Merged: |
-------------------------+--------------------------------------------------
Changes (by jason):
* status: needs_review => needs_work
Comment:
This looks nice, but causes a serious speed regression:
BEFORE:
{{{
sage: %timeit ln(complex(-1))
10000 loops, best of 3: 29 µs per loop
sage: %timeit log(complex(-1))
10000 loops, best of 3: 43.2 µs per loop
}}}
AFTER:
{{{
sage: %timeit ln(complex(-1))
1000 loops, best of 3: 1.47 ms per loop
sage: %timeit log(complex(-1))
100 loops, best of 3: 1.47 ms per loop
}}}
Can this be fixed easily?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7822#comment:2>
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.