Updates:
Status: WontFix
Comment #19 on issue 2305 by asmeurer: Integer.isqrt and similar shouldn't
be a method
http://code.google.com/p/sympy/issues/detail?id=2305
Well, I didn't hear any more opinions, so I guess I'll just have to make a
decision.
Let's just leave them. It's the easiest way, and I don't see any patches.
We already have shortcut methods for common functions on expressions, like
expr.simplify() and expr.factor(). So I don't see any problems with doing
the same for numbers in the unary case. My only concern is Integer.gcd vs.
Integer.igcd, but I suppose it makes sense that Integer.gcd should to
integer gcd. If we implement some kind of ring objects, we could do
Ronan's idea, though it sounds like it could be a little clunky in the
interface.
--
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.