Ilya Zakharevich on Thu, 16 Dec 2004 07:26:22 +0100


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

Math::Pari: error in rnfinit()


I got a report of exactly one test failing in Math::Pari test suite:
test 21 of nfields.  Here it is:

     not ok 21 # in='rnfinit($nf2,$x**5-$x-2)'
 out=[	x^5 - x - 2,
	[[1, 2], [0, 5]],
	[[49744, 0, 0; 0, 49744, 0; 0, 0, 49744], [3109, 0, 0]~],
	[1, 0, 0; 0, 1, 0; 0, 0, 1],
	[[[1,
	   1.2671683045421243172528914279776896412,
	   1.6057155120361619195949075151301679393,
	   2.0347118029638523119874445717108994866,
	   2.5783223055935536544757871909285592749;
	   1,
	   -0.89454803265751744362901306471557966872
		+ 0.53414854617473272670874609150394379949*I,
		...
pari=[  x^5 - x - 2,
        [[1, 2], [0, 5]],
        [[49744, 0, 0; 0, 49744, 0; 0, 0, 49744], [3109, 0, 0]~],
        [1, 0, 0; 0, 1, 0; 0, 0, 1],
        [[[1,
           1.2671683045421243172528914279776896412,
           1.6057155120361619195949075151301679393,
           2.0347118029638523119874445717108994866,
           2.5783223055935536544757871909285592749;
           1,
           0.26096388038645528500256735072673484811
                + 1.1772261533941944394700286585617926513*I,
                ...

The upper value is what Math::Pari returns, the lower one is what
GP/PARI is expected to return (up to the first different value).
Since I do not know what is the meaning of this, I have no idea how to
fix it...

Any thoughts?
Ilya