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

Implement ispower and ispower_with_root for fmpz (will require flint-2.9) #1126

Closed
wbhart opened this issue Jul 22, 2021 · 2 comments
Closed

Comments

@wbhart
Copy link
Contributor

wbhart commented Jul 22, 2021

These are still not implemented as per #862 though all the other functions in the table there are now implemented for integer types.

@wbhart
Copy link
Contributor Author

wbhart commented Aug 9, 2021

These can be implemented in terms of Flint's fmpz_root function which returns an int if the root is exact.

@wbhart wbhart changed the title Implement ispower and ispower_with_root for fmpz Implement ispower and ispower_with_root for fmpz (will require flint-2.9) Aug 9, 2021
@fingolfin
Copy link
Member

We have is_power, is_prime_power, is_prime_power_with_data, is_perfect_power, is_perfect_power_with_data all native for ZZRingElem. I believe that resolve the issue.

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