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

Exponentiation is missing in module Q #33

Open
loxs opened this issue May 14, 2018 · 2 comments
Open

Exponentiation is missing in module Q #33

loxs opened this issue May 14, 2018 · 2 comments

Comments

@loxs
Copy link

loxs commented May 14, 2018

No description provided.

@antoinemine
Copy link
Collaborator

I'm not sure what you would want from such an exponentiation. (n/d)^x = (n^x) / (d^x) where x is an integer ? As a rule, we try to follow GMP's operator set, and as far as I known there is no rational exponentiation in GMP.

@antoinemine
Copy link
Collaborator

For now, we stick to GMP's set of rational operators. Maybe we could add more operators in the future, especially if we want to have the same features as Num's rationals.
I keep this as a possible enhancement, in case anyone is interested.

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

No branches or pull requests

2 participants