PARI/GP

Try GP in your browser
Main
  Download
  Packages
  Funding
  SEARCH

Help / Community
  FAQ
  Documentation
  Tutorials
  Mailing Lists
  Bugs
  Timeline
  Ateliers PARI/GP

Library
  Publications
  Contributed GP scripts
  Links
  Fun!

Development
  Latest Changes
  Version Control
  Coding Guidelines
  PariDroid
  Logo

Tests & benchmarks
  Buildlogs
  Coverage Report
  Doc Coverage
  Refcards test
  Benchmarks

  WWW Stats

Changes commited to PARI GIT during the last two weeks


e8fd809e29 | Karim Belabas | Sat, 10 Oct 2026 20:01:01 +0200
6- logint(t_REAL, 2, &z); z was uninitialized

+ trivialize logint(a, 2^f)
1	0	CHANGES
35	10	src/basemath/ispower.c
16	18	src/test/32/logint
10	12	src/test/in/logint

dfb0ec9b7e | Karim Belabas | Tue, 6 Oct 2026 09:57:14 +0200
fix mat bench for 32-bit arch
2	3	src/test/32/mat
2	2	src/test/in/mat

36f6fc39cd | Karim Belabas | Mon, 5 Oct 2026 02:56:32 +0200
further typos in nfislocalpower (Manvir Jaswal)
8	5	src/basemath/bnflog.c
6	16	src/test/32/nfislocalpower
20	22	src/test/in/nfislocalpower

0bd61a438c | Karim Belabas | Sun, 4 Oct 2026 21:43:13 +0200
nfislocalpower: replace n by |n|
3	2	src/basemath/bnflog.c

eb06d6845d | Karim Belabas | Sun, 4 Oct 2026 21:40:06 +0200
nfislocalpower: off-by-1 error
1	1	src/basemath/bnflog.c
2	2	src/test/32/nfislocalpower

32d2519eca | Karim Belabas | Sun, 4 Oct 2026 20:48:05 +0200
5- x==0 incorrect for t_COMPLEX x (defined as |x| == 0) [#2708]

was incorrectly assuming we must have real(x) and imag(x) t_REAL to have
|x| == 0 with real or imaginary part non-zero but norm(0.0 + I/2^1000) = 0.E-77

Also fix cx_approx0
1	0	CHANGES
29	22	src/basemath/gen2.c
5	1	src/test/32/mat
5	0	src/test/in/mat

f864d15850 | Karim Belabas | Sun, 4 Oct 2026 17:20:51 +0200
nfislocalpower(K, pr, non-integral element, n)

also optimize for huge n
18	3	src/basemath/bnflog.c
2	1	src/test/32/nfislocalpower
1	0	src/test/in/nfislocalpower

9590618c48 | Karim Belabas | Sun, 4 Oct 2026 17:00:49 +0200
4- nfislocalpower: error when argument not an algebraic integer [#2705]

multiply by denom^n to reduce to the integral case.
1	0	CHANGES
3	1	src/basemath/bnflog.c
3	1	src/test/32/nfislocalpower
4	0	src/test/in/nfislocalpower

c056bd8ce0 | Karim Belabas | Sun, 4 Oct 2026 16:58:59 +0200
update comment
1	1	src/basemath/alglin1.c

ef8fdb8e4f | Bill Allombert | Sun, 4 Oct 2026 11:27:46 +0200
rnfgaloisconj_bound: typo in previous commit
2	2	src/basemath/nffactor.c

ef368172dc | Bill Allombert | Sun, 4 Oct 2026 10:47:59 +0200
rnfgaloisconj_bound: need to count complex places twice [#2707]
2	1	CHANGES
2	1	src/basemath/nffactor.c
3	1	src/test/32/rnf
2	0	src/test/in/rnf

4de892a19e | Bill Allombert | Sun, 4 Oct 2026 10:47:59 +0200
galoisfixedfield: doc: explain action of H on the relative extensiion
20	8	src/functions/number_fields_galois/galoisfixedfield

d1430f50b2 | Karim Belabas | Thu, 1 Oct 2026 23:55:10 +0200
make gen_parapply_slice_zv gc-safe
1	1	doc/usersch4.tex
4	2	src/basemath/alglin3.c

0d54bb1973 | Karim Belabas | Thu, 1 Oct 2026 02:13:58 +0200
improve doc
12	9	doc/usersch4.tex

710572b2c2 | Karim Belabas | Thu, 1 Oct 2026 01:00:39 +0200
improve doc
9	5	doc/usersch4.tex

4bef749f24 | Karim Belabas | Wed, 30 Sep 2026 18:12:02 +0200
ellanQ_zv: fix gc

- remove gc_leaf in ellapQ_zv: inefficient (since the stack is cluttered
  from gen_parapply_slice_zv) and useless (doesn't change memory usage)

- add gc in ellQap_u
8	4	src/basemath/elliptic.c

6fcdb19f55 | Karim Belabas | Wed, 30 Sep 2026 14:21:26 +0200
support empty vector in gen_parapply_*

localbitprec(53); lfun(ellinit([1,2]), 100) -> FPE
1	0	CHANGES
1	1	doc/usersch4.tex
15	9	src/basemath/alglin3.c
2	1	src/test/32/lfun
2	0	src/test/in/lfun

603d02feac | Bill Allombert | Tue, 29 Sep 2026 22:14:15 +0200
z=ffgen(23^3,'z);hyperellcharpoly(t^3+z*t+4) -> SEGV [#2703]
2	0	CHANGES
1	1	src/basemath/ZX.c
2	1	src/test/32/hyperell
3	0	src/test/in/hyperell

bbfb6892ca | Bill Allombert | Mon, 28 Sep 2026 14:22:44 +0200
Bump version to 2.20.0
3	54	CHANGES
59	0	CHANGES-2.18
1	1	README
1	1	config/version
1	1	doc/refmacro.tex
1	1	src/test/32/version

19e00f7164 | Bill Allombert | Mon, 28 Sep 2026 10:29:32 +0200
trace(Mod(x, Mod(1,2)*(x^2+x+1))) ->0 [#2702] (from Manvir Jaswal)
2	1	CHANGES
1	1	src/basemath/FpX.c
1	1	src/basemath/RgX.c
1	0	src/test/32/pol
1	0	src/test/in/pol

c3df5477f3 | Karim Belabas | Sun, 27 Sep 2026 16:53:11 +0200
doc typo
1	1	src/functions/number_fields_relative/HEADER

6fcef1292f | Karim Belabas | Sun, 27 Sep 2026 16:41:15 +0200
add galoisorder
1	0	doc/refcard-nf.tex

9f6590254c | Karim Belabas | Sun, 27 Sep 2026 16:36:06 +0200
update NEW and COMPAT
3	1	COMPAT
11	1	NEW

9e985fdc2b | Karim Belabas | Sun, 27 Sep 2026 16:27:08 +0200
fix bnfcertify and c_2 phase ("be honest") in bnfinit

Both incorrectly skipped part of the checks in degree> 2. Removing the
last unramified prime above p is only correct if all primes above p have
been included. Initial report and analysis by Manvir Jaswal.

[libpari] prime_over_p_full
3	0	CHANGES
4	0	doc/usersch6.tex
25	3	src/basemath/buch2.c
1	0	src/headers/paridecl.h

33547b448a | Bill Allombert | Sun, 27 Sep 2026 11:54:04 +0200
CHANGES: Move 2.18 changes to CHANGES-2.18
0	335	CHANGES
334	0	CHANGES-2.18

a0a6093e33 | Karim Belabas | Sun, 27 Sep 2026 10:44:08 +0200
SPLIT: rename nbtest* variables to be consistent with nsub

General convention:
- nxxx stands for "number of elements in xxx"
- lxxx stands for lg(xxx)
- avoid the name 'l' for anything that is not an 'lg'.
7	7	src/basemath/buch2.c

2f273d38c5 | Karim Belabas | Sun, 27 Sep 2026 10:32:28 +0200
SPLIT: handle length of subfactorbase cleanly

No bug: when ++lgsub < minss(8, lg(Vbase) - 1) fails once, then nbtest_lim
is set to LONG_MAX and we never hit that line again. So lgsub could be as
large as lg(Vbase) - 1 at most and there is no out-of-bound access in Vbase.

In fact the intent was to go as far as lg(Vbase) so there was a
(harmless) off-by-1 error. New code is less cryptic
16	13	src/basemath/buch2.c

fbb57974b6 | Karim Belabas | Sat, 26 Sep 2026 19:01:26 +0200
add example
5	1	doc/usersch2.tex



PARI/GP Development
Last Modified: 2025-11-17 10:46:31
Copyleft © 2003-2025 the PARI group.