Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-High
New issue 1538 by smichr: root of negative number
http://code.google.com/p/sympy/issues/detail?id=1538
Can someone find out where this is originiting? Sympy can correctly compute
1/imag_number and can compute the nth rooth of a
Updates:
Summary: root of negative number in denominator
Comment #1 on issue 1538 by smichr: root of negative number in denominator
http://code.google.com/p/sympy/issues/detail?id=1538
You can see the problem perhaps more clearly from this:
s=S(1)/6
1/(-1)**s
-(-1)**(5/6)
Comment #5 on issue 1467 by fab...@fseoane.net: sorting values with
imaginary numbers in radical
http://code.google.com/p/sympy/issues/detail?id=1467
Patch is nice and makes sense.
I don't like however that we are resorting to __nonzero__ when ordering
should be
done in __cmp__, but I
Updates:
Status: Started
Labels: -NeedsReview NeedsBetterPatch
Comment #6 on issue 1467 by fab...@fseoane.net: sorting values with
imaginary numbers in radical
http://code.google.com/p/sympy/issues/detail?id=1467
BTW, at some time we should rename all those __nonzero__ methods
Comment #4 on issue 1537 by tom.denniston: There are certain cases of
inversed operations where it seems like sympy might do better reducing
http://code.google.com/p/sympy/issues/detail?id=1537
That's really nice. One thing I noticed from experimenting is that x
doesn't need to
be positive
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-High NeedsReview
New issue 1539 by smichr: 8**(-1/3) = 1 (now equals 1/2)
http://code.google.com/p/sympy/issues/detail?id=1539
While searching for the solution to 1538 I found another error which is
corrected with the attached patch.
Updates:
Labels: Milestone-Release0.6.6
Comment #2 on issue 1538 by ondrej.certik: root of negative number in
denominator
http://code.google.com/p/sympy/issues/detail?id=1538
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or
Updates:
Status: Fixed
Comment #5 on issue 1538 by fab...@fseoane.net: root of negative number in
denominator
http://code.google.com/p/sympy/issues/detail?id=1538
I squashed both patches into a single commit and pushed this in.
Comment #5 on issue 1537 by ondrej.certik: There are certain cases of
inversed operations where it seems like sympy might do better reducing
http://code.google.com/p/sympy/issues/detail?id=1537
Yes. Btw, we are working on a new assumption system, that would allow us to
handle
much more