On Jul 21, 2:08 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > Currently most elements of QQbar are printed in interval notation: > > [-2.0741620076681855 .. -2.0741620076681850] + [1.7722625415877633 .. > 1.7722625415877638]*I > > When dealing with lots of these, or when dealing with matrices and > vectors of QQbar elements, this quickly becomes overwhelming because of > the massive amount of almost-the-same numbers, the extra brackets, etc. > What do people think of printing QQbar elements in a different way > (thanks to cwitty for suggesting the question mark syntax): > > 1. Appending a question mark after the last unquestionable digit an > interval: -2.074162007668185? + 1.772262541587763?*I > > 2. Appending a question mark after the first questionable digit of an > interval: -2.0741620076681853? + 1.7722625415877636?*I
My actual suggestion was that a question mark could signal that the previous digit might be wrong by +/- 1. Using "last unquestionable digit" or "first questionable digit" is not good, because [0.999999999 .. 1.000000001] has no unquestionable digits. With my proposal, this would be 1.000000000?, and [-0.001 .. 0.001] would be 0.000?. Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---