11.01.2012 02:16, Aaron Meurer пишет:
> The non-simplification of x**2.0/x is indeed a bug. That should work.
> I made http://code.google.com/p/sympy/issues/detail?id=2978 for this.
>
> Aaron Meurer
>
The last message from Stefan (about continuity) have convinced me that
this simplification must be automatic, but there is a question about
result of this automatic simplification.
The description of issue 2978 defines that this is must:
>>> x**2.0/x
x
I think that desired behavioral must be like:
>>> x**2.0/x
x**1.0
(and only then one might to convert floats to integers)
>>> x**1.1/x
x**0.1
In other words I don't tend to convert the floats like "1.0" to integer
"1" automatically in the expressions.
--
Alexey U.
--
You received this message because you are subscribed to the Google Groups
"sympy" 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?hl=en.