Complex numbers are ordered lexicographically (first by real part and then imaginary part). I agree that it is not completely natural, but having a total ordering is very useful when programming.
Le 20/05/2020 à 23:12, Bruce Westbury a écrit :
This was unexpected {{{ sage: CC(I) > CC(0) True sage: CC(-I) > CC(0) False }}} Are these the intended results?
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/a9626a74-7543-7d1d-16cd-bbed1cec24c9%40gmail.com.