Hello, 

you might have missed the minus sign and the "it should be positive" in my 
post. 

Best regards, 

Mickaël


On Saturday, September 16, 2017 at 1:33:47 PM UTC+2, David Joyner wrote:
>
> On Sat, Sep 16, 2017 at 7:27 AM, Mickael Pechaud 
> <mickael...@gmail.com <javascript:>> wrote: 
> >  Hello, 
> > 
> > I'm running SageMath 7.2, on a 64bits laptop with a Ubuntu 16.04.2 LTS 
> > (xenial). I got a wrong answer from cos : 
> > 
> > sage: float(cos(14*pi/9)) 
> > -0.17364817766693041 
> > 
>
> FYI, cocalc.com returns 
>
> 0.17364817766693041 
>
> > It should be positive - and it's inconsistent with the following lines : 
> > 
> > sage: float(cos(14*pi/9-2*pi)) 
> > 0.17364817766693041 
> > 
> > 
> > sage: float(14*pi/9) 
> > 4.886921905584122 
> > 
> > sage: float(cos(4.886921905584122)) 
> > 0.17364817766692953 
> > 
> > Am I missing something, or is there an actual problem here ? 
> > 
> > Thanks in advance, 
> > 
> > Mickaël 
> > 
> > -- 
> > 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+...@googlegroups.com <javascript:>. 
> > To post to this group, send email to sage-...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

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