Re: [sage-release] square root very strange in 8.5.beta3

2018-11-14 Thread Erik Bray
On Wed, Nov 14, 2018 at 10:32 AM Bruno Grenet wrote: > > As far as I can tell, this behavior is not new. The (default) choice > made for the square root of an integer is to return an exact answer > rather than an approximation. Thus sqrt(9) = 3, sqrt(10) = sqrt(10) and > sqrt(12) = 2*sqrt(3). On

Re: [sage-release] square root very strange in 8.5.beta3

2018-11-14 Thread Bruno Grenet
As far as I can tell, this behavior is not new. The (default) choice made for the square root of an integer is to return an exact answer rather than an approximation. Thus sqrt(9) = 3, sqrt(10) = sqrt(10) and sqrt(12) = 2*sqrt(3). On the other hand, a floating point number is viewed as an

[sage-release] square root very strange in 8.5.beta3

2018-11-14 Thread Henri Girard
HI, I am calculating a square root sqrt(9)=3 But at 10 and over I got this answer sqrt(10)= sqrt(10) except sqrt(16)=4 when it's a right square but sqrt(10.0)=3.16... Is it a normal answer ? sqrt(16)=4 works Any explaination ? Regards Henri -- You received this message because you are