Changes between Initial Version and Version 1 of Ticket #16397


Ignore:
Timestamp:
05/25/14 17:28:42 (7 years ago)
Author:
vbraun
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16397

    • Property Component changed from PLEASE CHANGE to symbolics
    • Property Type changed from PLEASE CHANGE to defect
  • Ticket #16397 – Description

    initial v1  
     1In the symbolic ring, cmp implements the print comparison which is probably not what you envisioned:
     2{{{
     3sage: cmp(1, sqrt(2))     # mathematically correct, uses rich comparison
     4-1
     5sage: cmp(SR(1), sqrt(2)) # unexpectedly, you get the print sort order
     61
     7}}}