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
|
- To: Max Alekseyev <maxale@gmail.com>
- Subject: Re: factor() vs factorint() for integers
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Sat, 12 Oct 2024 16:36:32 +0200
- Cc: Pari Users <pari-users@pari.math.u-bordeaux.fr>
- Delivery-date: Sat, 12 Oct 2024 16:36:37 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.u-bordeaux.fr; s=2022; t=1728743795; bh=us8P9ombp8K4i4trVA/RiR2wlt3pja3Ea9vW6GgfsZQ=; h=Date:From:To:Cc:References:In-Reply-To:From; b=FpaRmiL1hqpKcUsSG3T15uIfsy/zcCL5cY/tZV94eFSTu0MhVbtxfos2PAOljpI+P BRhzVIdoqkW765QQnAXpB/S239ndBeymXW4Xsm1DMk8DDIZucmFfSvds3Xpe0HnbTe EnVj8Y1NzCmTV5wuZvwr+zmowErl5KHUW3GSrXxRd7NPFeDmD7x3rkRXFUxLE3oUKD My3IT3VlU/zzVHmD6iyy6jHeVT1RsOpVUuHBtRBeEpt6czn80Q+Ry3IDUxErFsll9P lg/nEaedBQexnkR7Y9SHZb7gPOt/kbaIkH8+0PUQWTES30yHC1ahOGw3j10BT+sHZX Hh8FVMV2dwelnBnQyqG1ozArM/3cAW6dteLQd89lP5s++Djy3hBFwEWDvqfvZTTCNS Z+MH28X5s9mJbu02/pr3NasG2gWkb4UtjtTsHtv8rH22+wJJtpkRVglpenRoMwtcN6 dtki0krIHGhM0NndCxNFXkgMnLuJuspJfNSsYBBPglEP7pqYNVNKcDxj43pFURy2fD mfHHO4xk9/v9452YbLTKxy22Ks1i5bO/iE+zYcZYGG7F1wTTAp9P3ml/2x7rbAhKL0 P23h/aHwz5Ko8g0Fl6kcs7egJz6dTFsttCR4tWGtdU7ZzQOXFRAJAS+cNm2GT8Iy/1 Jgumfsq7yKCpNYK7zZkoxX+4=
- In-reply-to: <CAJkPp5M8QjheUnZ7-pkAYEWDhZNWe_zLb=-q014kxskDKPLp1w@mail.gmail.com>
- Mail-followup-to: Max Alekseyev <maxale@gmail.com>, Pari Users <pari-users@pari.math.u-bordeaux.fr>
- References: <CAJkPp5M8QjheUnZ7-pkAYEWDhZNWe_zLb=-q014kxskDKPLp1w@mail.gmail.com>
* 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/