Riccardo Gori wrote:
> Hello,
>

Hi Riccardo,

thanks for the bug report. I have forwarded it to sage-devel.

Cheers,

Michael
> In SAGE-3.0.2 with a Intel Mac OSX 10.5 I found the following bug:
>
> Trying to evaluate a sympy function gives a wrong result. With sympy in a 
> python shell everything works well.
>
> To reproduce:
>
> sage: import sympy
> sage: sympy.sin(1.1)
> sin(1)
> sage: sympy.sin(float(1.2))
> sin(1)
> sage: sympy.sin(1.3)
> sin(1.300000000000000044408920985)
> sage: sympy.sin(float(1.4))
> sin(1.39999999999999991118215803)
>
> I didn't find a way to get a correct result even with float().
>
> Thank you
>
> Riccardo
>
>


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to