Updates:
        Labels: WrongResult EasyToFix

Comment #1 on issue 3045 by ronan.l...@gmail.com: float-based operations lose precision
http://code.google.com/p/sympy/issues/detail?id=3045

Oops, that's bad! Doing the right thing in Rational.__int__ seems trivial (i.e. just return self.p//self.q), but it needs to be tested.

More generally, we should make sure that Rational doesn't use floating-point logic for anything except explicitly FP-related operations.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to