[
https://issues.apache.org/jira/browse/NUMBERS-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742863#comment-17742863
]
Alex Herbert commented on NUMBERS-194:
--------------------------------------
I am not sure this has great value. The method is simply:
{code:java}
int x = ...
int y = ...
ArithmeticUtils.gcd(x, y) == 1
{code}
Would it not be better to add documentation to the Primes class to indicate
that the gcd functionality exists in the numbers core module?
> New function - are relatively prime
> -----------------------------------
>
> Key: NUMBERS-194
> URL: https://issues.apache.org/jira/browse/NUMBERS-194
> Project: Commons Numbers
> Issue Type: New Feature
> Components: primes
> Reporter: Dimitrios Efthymiou
> Priority: Minor
> Labels: features
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> I am proposing a new function to be implemented in the primes module that
> takes 2 integers and checks if they are coprime.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)