#7682: Customize printing of real numbers
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  AlexGhitza
       Type:  defect       |      Status:  needs_info
   Priority:  major        |   Milestone:  sage-4.3.2
  Component:  numerical    |    Keywords:            
     Author:  Jason Grout  |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by jason):

 Thanks for the style review.  Okay, I can change print_options to a
 function, though I don't think it's "better", maybe just more consistent
 and slightly worse (i.e., unpythonic and more typing)

 On another note, I just changed the latexing of a real field to indicate
 the precision and rounding, so that RealField(100,rnd='RNDD') prints as
 \Bold{R}^{-}_{100}.  The subscript is the precision, the superscript is
 '+' for RNDU, '-' for RNDD, 0 for RNDZ, and nothing for RNDN.  What do you
 think?  It mirrors better the textual description of the field that
 indicates precision and rounding.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7682#comment:9>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to