On Sat, Sep 16, 2017 at 7:27 AM, Mickael Pechaud
<mickaelpech...@gmail.com> 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+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.

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