Skip to content

Multivariate ring of polynomials over real numbers give incorrect comparison against 0? #35681

@user202729

Description

@user202729

Is there an existing issue for this?

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.

Did you read the documentation and troubleshoot guide?

  • I have read the documentation and troubleshoot guide

Environment

- **Sage Version**: 9.8

Steps To Reproduce

R.<x> = ZZ[]
assert R(0) > R(-1)

R.<x> = RR[]
assert R(0) > R(-1)

R.<x, y> = ZZ[]
assert R(0) > R(-1)

R.<x, y> = RR[]
assert R(0) > R(-1)

Expected Behavior

All assertions pass.

Actual Behavior

The last assertion does not pass.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions