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

New issue 1321 by [email protected]: trigonometric functions of  
floating-point numbers should return floating-point numbers
http://code.google.com/p/sympy/issues/detail?id=1321

currently
In [1]: cos(0.5)
Out[1]: cos(0.500000000000000)

In [2]: acos(0.5)
Out[2]: acos(0.500000000000000)


I find that behaviour ok when the argument is a fraction, but with a
floating-point number it is more coherent to return a floating-point number.

Plus, solve wouldn't give such useless answers;

In [5]: solve(cos(x)-.5, x)
Out[5]: [acos(0.500000000000000)]



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