Comment #4 on issue 1538 by smichr: root of negative number in denominator
http://code.google.com/p/sympy/issues/detail?id=1538

above should read, ... change (-a)**(-p/q) to (-1/a)**(p/q)...
-(-1)**((p%q)/q)*(1/a)**(p/q).

Comments in the attached log elaborate on this.

More tests are included in the attached patch, too.

Attachments:
        0001-neg-rational-power-with-negative-rat-and-int-base-fi.patch  3.9 KB
        0001-neg-rational-power-with-neg-base-more-tests.patch  1.2 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
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