+1
There is another ticket that'll require some larger scale fixing of
doctests at http://trac.sagemath.org/ticket/16746...
On Thursday, August 21, 2014 8:07:22 AM UTC+1, Jeroen Demeyer wrote:
>
> Currently in Sage, we have
>
> sage: RR(2/3)
> 0.667
> sage: float(2/3)
> 0.666
On 2014-08-21 15:05, Dima Pasechnik wrote:
I think it's a great idea, and will reduce the confusion level quite a bit;
what precision will you choose as the right one?
I will simply use the repr() function for Python floats (except for NaN
and infinities).
--
You received this message because
On 2014-08-21, Jeroen Demeyer wrote:
> Currently in Sage, we have
>
> sage: RR(2/3)
> 0.667
> sage: float(2/3)
> 0.
> sage: RDF(2/3)
> 0.6667
>
> It's annoying that all these 3 are exactly the same thing (53-bit
> precision floats with the same bit pattern), bu