It seems that the assumption (wrongly) thinks that x is integer:

sage: assume(x>0)
sage: sin(pi*x)
0
sage: cos(pi*x)
(-1)^x



On Sunday, April 17, 2016 at 5:58:07 PM UTC+2, Eric Gourgoulhon wrote:
>
> Hi,
>
> In Sage 7.2.beta4:
>
> sage: assume(x>0)
> sage: sin(pi*x)
> 0
>
> As far as I can tell, this bug has been introduced in Sage 7.2.beta0. 
> Maybe by ticket #20134 <http://trac.sagemath.org/ticket/20134> (upgrade 
> to pynac-0.6.4) ?
>
> Best wishes,
>
> Eric.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to