You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to return the root and/or the exponent when mpz_perfect_power_p found a power? It seems a waste to use this function and write code that finds the root afterwards.
The text was updated successfully, but these errors were encountered:
It would be good to have this. However, it would have to be a different
function, since it is less efficient to return the power that to tell if it
is a perfect power, simply because returning the power would have to have
some kind of consistent semantics, such as returning the largest power.
On 13 June 2017 at 10:08, Ralf Stephan ***@***.***> wrote:
Is it possible to return the root and/or the exponent when
mpz_perfect_power_p found a power? It seems a waste to use this function
and write code that finds the root afterwards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#218>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOzpqVu1WvPhVxNQVPOPakA8BsxFQRdks5sDkN3gaJpZM4N4IUh>
.
Is it possible to return the root and/or the exponent when
mpz_perfect_power_p
found a power? It seems a waste to use this function and write code that finds the root afterwards.The text was updated successfully, but these errors were encountered: