Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3013 by [email protected]: Float(Float) gives odd result
http://code.google.com/p/sympy/issues/detail?id=3013

    >>> n = S(12345678901234567890)/Float(1.0,22)
    >>> n
    12345678901234567890.00
    >>> Float(n) # default prec is 15 so this is ok
    1.23456789012346e+19
    >>> Float(n, 22) # the same n should be returned
    12345678901234567168.00
                     ^^^____note the changed digits

--
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.

Reply via email to