Comment #2 on issue 1614 by fredrik.johansson: Real tuple argument weirdness
http://code.google.com/p/sympy/issues/detail?id=1614

The string conversion calls mpf_neg and prepends a "-" if the sign is  
nonzero.
mpf_neg assumes the sign to be either 0 or 1, so flipping it returns a  
nonzero sign
if it's something else.

The bc is used to determine the size of the number. This in turn is used to  
determine
how many bits or digits to pad with or throw away when converting from  
binary to
decimal. It's not surprising if setting a wrong value gives strange output.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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