Karim Belabas on Sat, 12 Oct 2024 16:36:37 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: factor() vs factorint() for integers


* Max Alekseyev [2024-10-12 16:23]:
> Is there any difference between using factor() or factorint() for factoring
> an integer?
> I know the two functions have different optional flags/parameters, but
> what's happening in the "default" case when none are specified?

No difference: factor calls factorint with default parameters.

Cheers,

    K.B.
-- 
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/