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

Changes in https://github.com/sympy/sympy/pull/998 allow the following:

S(12345678901234567890)/Float(1.0,22)
12345678901234567890.00
n=_
Float(n) # if it's already a Float, don't change prec
12345678901234567890.00
Float(n,22)
12345678901234567890.00
Float(n,20)
12345678901234567890.
Float(n,10)
1.234567890e+19
Float(n,22)
12345678901234567890.00
Float(n,23)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "sympy\core\numbers.py", line 409, in __new__
    raise ValueError('Insufficient existing precision')
ValueError: Insufficient existing precision


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