Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10583 closed defect (duplicate)

comparison for number fields broken

Reported by: rkirov Owned by: was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: number theory Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by rkirov)

sage: K.<a> = QuadraticField(2)
sage: 1 > a > 1
True

Change History (5)

comment:1 in reply to: ↑ description Changed 10 years ago by rkirov

  • Description modified (diff)
  • Summary changed from comparision for number fields broken to comparison for number fields broken

comment:2 Changed 10 years ago by rkirov

btw, here is how python handles objects with no obvious ordering relations.

1j < 1

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

TypeError?: no ordering relation is defined for complex numbers

comment:3 Changed 10 years ago by mhansen

See #7160 and #6132

comment:4 Changed 10 years ago by rkirov

  • Resolution set to duplicate
  • Status changed from new to closed

gotta learn how to search trac better.

comment:5 Changed 10 years ago by mvngu

  • Milestone set to sage-duplicate/invalid/wontfix
Note: See TracTickets for help on using tickets.