Updates:
        Labels: NeedsReview

Comment #4 on issue 2003 by smichr: Use factorint() with limit argument in sympy/core/numbers.py
http://code.google.com/p/sympy/issues/detail?id=2003

Please see commit 2003 of the github/smichr/2003 branch. Changes were made to the eval_power (to use a limit inside the trial factors routine) and factorint routine (which now always checks for a perfect power).

Using factorint with a limit alone is not the answer to this issue since factorint will still apply the more advanced methods, thus making eval_power slow if large are encountered. And if you shut those methods off then you are back to simple trial division...for which the Number's version works fun.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to