Hi all, > There is no way to make this literally work for sin(0.50), because > 0.5, 0.50 and 0.5000000000000 are the same to Python. You have to > explicitly set the precision for all numbers, as such: > sin(Real('0.50', 2)).
I think we should adopt the same principle as Mathematica here and assume it to be of machine precision unless told otherwise. Of course, if we wanted to be smart, when parsing the string we could take a shot at working it out. Regards, Freddie. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---