Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide group order as a type encompassing the Infinity #8

Open
kalmarek opened this issue Mar 15, 2021 · 2 comments
Open

provide group order as a type encompassing the Infinity #8

kalmarek opened this issue Mar 15, 2021 · 2 comments

Comments

@kalmarek
Copy link
Owner

Option to discuss:

  • comparing orders and numbers
  • no arithmetics (promotion rules), you need to convert to a number explicitly

e.g.
https://gist.github.com/kalmarek/640630a53d5837a5c7fe401eb2f047bd

@kalmarek kalmarek mentioned this issue Mar 15, 2021
@thofma
Copy link

thofma commented Mar 23, 2021

With the small union splitting in place, one can get pretty good performance by just using a singleton for positive infinity. We are using this in Hecke valuations, and I plan to move this to AbstractAlgebra.

(Just FYI).

@kalmarek
Copy link
Owner Author

is is being discussed somewhere?
if union splitting is considered, then why not just return an Inf?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants