On Oct 8, 2007, at 10:37 AM, William Stein wrote:
> > 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. I could have figured that out if I'd actually taken the time to read your reply, instead of replying, answering the phone, getting the dog's teeth out of my leg, and crossing things off my Honey-do list. Never mind... Justin -- Justin C. Walker, Curmudgeon-At-Large, Director Institute for the Enhancement of the Director's Income -------- The path of least resistance: it's not just for electricity any more. -------- --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---