Hi.

Le jeu. 13 juil. 2023 à 17:01, Dimitrios Efthymiou
<[email protected]> a écrit :
>
> Hello everyone. I am implementing a function that checks
> if 2 integers are relatively prime. I am putting this code in
> the commons_numbers_primes project. The problem is that
> my algorithm uses greatest common divisor. Instead of reimplementing
> myself, I thought that I should reuse ArithmeticUtils::gcd,

+1

> but
> the commons_numbers_primes project does not import the
> commons_numbers_core project. What should I do?

Add the "core" module as a dependency in the "primes" one.

Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to