Re: [sage-devel] bug in cos ?!

2017-09-16 Thread Mickael Pechaud
Problem solved by upgrading, thanks. 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

Re: [sage-devel] bug in cos ?!

2017-09-16 Thread Mickael Pechaud
Thanks, I'll try that, and come back if I have still this issue with the 8.0. Still, big problem in the 7.2 ?! Or could it be related to other libraries ? Mickaël -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group a

Re: [sage-devel] bug in cos ?!

2017-09-16 Thread Mickael Pechaud
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 > > wrote: > >

[sage-devel] bug in cos ?!

2017-09-16 Thread Mickael Pechaud
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 It should be positive - and it's inconsistent with the following lines : sage: float(cos(14*pi/9-2*pi)) 0.17364817766693041