| Bill Allombert on Fri, 30 Jul 2004 15:04:35 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| unwarranted factor warning ? |
Package: pari
Version: 2.2.8 CVS as of today
Severity: minor
Hello PARI-dev,
While testing galoisinit() I found out that:
? \g2
? factor(14428102754787546312318245110276^2,0);
*** factor: Warning: IFAC: unfactored composite declared prime.
1096507
However 1096507 is a prime number. Please note that
? factor(14428102754787546312318245110276,0);
does not output any warning, so the above behaviour seems unwarranted.
There is also the more general question of the wording of the warning:
it is displayed when a partial factorisation is requested, and the
composite is not 'declared' prime in any way outside being output as
part of the factorisation.
Cheers,
Bill.