Comment #8 on issue 3446 by asmeu...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
For an argument why S.Zero.evalf() should return a Float, see issue 3587.
And that's probably not the only place that it is assumed that evalf()
returns a
Comment #4 on issue 3446 by asmeu...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
But that gores back to why Float(0) gives 0. Otherwise 1.0*x - 1.0*x would
not give 0, whereas core code expects it to.
--
You received this message because you
Updates:
Status: WontFix
Labels: -NeedsReview -smichr
Comment #5 on issue 3446 by smi...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
(No comment was entered for this change.)
--
You received this message because you are
Updates:
Labels: Evalf Core
Comment #6 on issue 3446 by asmeu...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
WFIW, I think we should try to fix this somehow (or at least do a better
job of convincing ourselves that fixing it is
Updates:
Labels: NeedsReview smichr
Comment #2 on issue 3446 by smi...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
https://github.com/sympy/sympy/pull/1679
--
You received this message because you are subscribed to the Google Groups
Comment #3 on issue 3446 by smi...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
copied from issue 2340 Also:
Float(1.0) - Float(1.0)
0
It should probably return a Float (0.0). Similar things happen with
multiplication etc,
Status: Valid
Owner:
Labels: Type-Defect Priority-Medium
New issue 3446 by smi...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
This should probably give 0.0
Float('0.')*x
0
This should perhaps not simplify since if x were 1
we would want
Comment #1 on issue 3446 by 16sn...@gmail.com: interactions with Float(0.0)
http://code.google.com/p/sympy/issues/detail?id=3446
These (related examples) should also probably give 0.0
Float(1.0) * Float('0.0')
0
Integer(1) * Float('0.0')
0
I agree with your suggestions. In