On Fri, May 23, 2008 at 10:18 PM, Nick Alexander <[EMAIL PROTECTED]> wrote:
>
> Does anyone else find the printing of 0 below inconsistent?
>
> sage: CC(0)
> 0
> sage: RR(0)
> 0.000000000000000

Yes, I agree that this is inconsistent and should be changed.
Probably the right change would be:

sage: CC(0)
0.000000000000000

I'm very curious if Carl Witty has any comments.

William

> sage: CC
> Complex Field with 53 bits of precision
> sage: RR
> Real Field with 53 bits of precision
>
> It doesn't always happen:
> sage: RR(2)
> 2.00000000000000
> sage: CC(2)
> 2.00000000000000
>
> sage: version() # heavily modified but not in the printing code :)
> 'SAGE Version 3.0.1.alpha0, Release Date: 2008-04-26'
>
> Nick
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

  • [sage-devel] Nick Alexander
    • [sage-devel] Re: [sage-devel] William Stein

Reply via email to