#5685: [with patch, positive review] enhanced nth_root in ZZ and QQ and related
utilities
------------------------------+---------------------------------------------
 Reporter:  cremona           |       Owner:  somebody                 
     Type:  enhancement       |      Status:  new                      
 Priority:  major             |   Milestone:  sage-3.4.2               
Component:  basic arithmetic  |    Keywords:  nth root rational integer
------------------------------+---------------------------------------------

Comment(by cremona):

 The extra patch does the suggested polishing, by adding a method to the
 integer class, ordinal_str(), which adds the correct suffix ('st', 'nd',
 'th'), and then uses that.  I knew of one other place where similar
 messages were output in rings/number_fields/order.py and changed that too.
 I hope I got it right!  Suitable doctests have been added.

 I made the 3rd patch based on 3.4.1.rc2 + the first patch, forgetting the
 second, so I hope it applies ok.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5685#comment:6>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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