On 10/8/07, Justin C. Walker <[EMAIL PROTECTED]> wrote: > On Oct 8, 2007, at 9:34 AM, cwitty wrote: > > True. However, a few days ago I realized there is a much better > > solution to this problem. Use ... in the output. E.g., instead > > of something like > > > > sage: sin(1.0) # random low-order bits > > 0.841470984807897 > > > > we do > > > > sage: sin(1.0) > > 0.8414709848078... > > This sounds good, but what about "piping" issues (take the print > output of one function and give it as input to another)? Currently, > we get > > sage: xxx= 0.8414709848078... > ------------------------------------------------------------ > File "<ipython console>", line 1 > xxx= RealNumber('0.8414709848078E')llipsis > ^ > <type 'exceptions.SyntaxError'>: invalid syntax > > I often copy/paste between windows running different SAGEs, or even > print to files and read back, so this isn't entirely bogus.
I'm sorry for not being clearer -- you completely misunderstood my proposal. I am *only* suggesting that the actual doctest output be changed to have ...'s in cases where the lower order bits are random. I am *NOT* suggesting changing the actual output of Sage to have ...'s. William --~--~---------~--~----~------------~-------~--~----~ 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---