Package: pari-stable
Version: 2.7.5
The function bnrdisc() seems to give incoherent results in some trivial cases such as the one in the transcript below.
Daniel
Transcript:
Reading GPRC: /Users/daniel/.gprc ...Done.
GP/PARI CALCULATOR Version 2.7.5 (released)
i386 running darwin (x86-64/GMP-6.0.0 kernel) 64-bit version
compiled: Mar 3 2016, Apple LLVM version 7.0.2 (clang-700.1.81)
threading engine: single
(readline v6.3 enabled, extended help enabled)
Copyright (C) 2000-2015 The PARI Group
PARI/GP is free software, covered by the GNU General Public License, and comes
WITHOUT ANY WARRANTY WHATSOEVER.
Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.
parisize = 8000000, primelimit = 500000
? k = bnfinit(y^2 - 5);
time = 2 ms.
? modul = bnrinit(k,[1,[1,1]]);
?
? bnrdisc(modul)
%3 = [2, 0, -5]
I think the answer should be [2,1,5].