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


1e4f217d08 | Karim Belabas | Fri, 12 Jun 2026 22:37:50 +0200
get_B0: replace mpadd by addii
4	4	src/modules/thue.c

b1333285ec | Karim Belabas | Fri, 12 Jun 2026 20:43:16 +0200
fix doc of ZX_squff
7	6	doc/usersch5.tex

690966b0c6 | Karim Belabas | Fri, 12 Jun 2026 15:35:43 +0200
59- polcyclofactors(((x^6+x^3+1)*(3*x^3+1))^2) -> oo loop [#2680]

- ZX_radical is now guaranteed to be primitive, fixing the above issue
  (BD required a primitive input)

- ZX_gcd_all(A, B, &Anew) returns d = gcd(A,B) and used to set Anew to an
  integer multiple of A / d. We now set Anew to the primitive part of A / d.
  This ensures the primitivity of ZX_radical

N.B. Pre-existing minor inefficiency: ZX_* or QX_* functions will
successively call Q_primpart() on their inputs although primitivity was
already ensured by the caller.
4	0	CHANGES
4	0	COMPAT
4	4	doc/usersch5.tex
10	4	src/basemath/QX_factor.c
2	1	src/test/32/cyclo
1	0	src/test/in/cyclo

e392c434df | Karim Belabas | Fri, 12 Jun 2026 00:35:17 +0200
ZX_content: add test for |x_0| = 1
2	1	src/basemath/polarit2.c

81faa19ef0 | Karim Belabas | Fri, 12 Jun 2026 00:24:14 +0200
improve ZX_content
16	8	src/basemath/polarit2.c

fa022299b5 | Karim Belabas | Thu, 11 Jun 2026 18:43:53 +0200
add comments
2	2	src/basemath/QX_factor.c

87831b134e | Karim Belabas | Thu, 11 Jun 2026 16:56:57 +0200
add/improve comments
2	2	src/basemath/QX_factor.c
2	0	src/basemath/rootpol.c

c7320ffae2 | Karim Belabas | Thu, 11 Jun 2026 16:56:23 +0200
refactor computation of ch_C
14	9	src/modules/stark.c

93b715b406 | Karim Belabas | Wed, 10 Jun 2026 23:02:14 +0200
use divrmp
1	1	src/basemath/rootpol.c

862a51d1f7 | Karim Belabas | Wed, 10 Jun 2026 22:50:28 +0200
23- mpdiv is now obsolete, use divmpr or divrmp instead.

The goal of mp functions is to
- allow t_INT / t_REAL inputs with easily determined output types
  (t_REAL when one of the inputs is a t_REAL) and fast calls to
  arithmetic kernel functions compared to generic functions
- that point aside, implement "generic" arithmetic

mpdiv(t_INT, t_INT) violated the second assumption by returning a
Euclidean quotient, while all other 3 type combinations (involving at
least one t_REAL) returned the ordinary quotient.

This created subtle bugs in linear algebra functions with 'mp'
coefficients using mpxxx functions. For instance dividing a t_INT by a
t_INT pivot gave a wrong (Euclidean) quotient instead of the required
(exact rational) quotient.
2	0	CHANGES
3	0	COMPAT
15	7	doc/usersch5.tex
2	2	src/basemath/trans2.c
2	2	src/functions/symbolic_operators/div
2	2	src/functions/symbolic_operators/dive
2	0	src/headers/paridecl.h
9	3	src/kernel/none/level1.h

746f6956af | Bill Allombert | Wed, 10 Jun 2026 14:31:15 +0200
newblock_t: use malloc
8	1	src/language/init.c

29928fad56 | Bill Allombert | Wed, 10 Jun 2026 11:34:55 +0200
Add support for [...| ...; a=...]
6	0	doc/develop.tex
42	0	src/basemath/alglin3.c
22	0	src/functions/symbolic_operators/compr
4	0	src/headers/paridecl.h
2	0	src/headers/paripriv.h
9	2	src/language/parse.y
2	2	src/language/parsec.h
16	0	src/language/sumiter.c
1	1	src/language/tree.h
2	1	src/test/32/ranges
1	0	src/test/in/ranges

70b2c9a59e | Bill Allombert | Tue, 9 Jun 2026 19:47:34 +0200
newblock_t: allow to define non-recursive block.

A block is non-recursive if either it has non GEN component, or more generally
all its GEN component are clone.
1	0	CHANGES
23	0	doc/develop.tex
5	1	src/headers/paridecl.h
0	4	src/headers/paripriv.h
4	0	src/kernel/none/level1.h
9	16	src/language/init.c

570fa31dc3 | Bill Allombert | Tue, 9 Jun 2026 16:10:19 +0200
New libpari functions F3v_dotproduct, F3v_dotsquare
1	1	CHANGES
4	0	doc/usersch5.tex
35	0	src/basemath/F3v.c
2	0	src/headers/paridecl.h

efb9a39cbc | Bill Allombert | Tue, 9 Jun 2026 14:59:15 +0200
New libpari function F3m_rank
1	0	CHANGES
2	0	doc/usersch5.tex
8	1	src/basemath/F3v.c
2	1	src/basemath/alglin1.c
1	0	src/headers/paridecl.h

cea32ebc88 | Bill Allombert | Thu, 4 Jun 2026 15:42:11 +0200
test-ellff: set stacksize back to 10M
2	2	src/test/32/ellff
1	1	src/test/in/ellff

80d2c635ba | Karim Belabas | Thu, 4 Jun 2026 15:19:20 +0200
kill warning
1	1	src/basemath/Zp.c

8e92567d7f | Bill Allombert | Wed, 3 Jun 2026 23:40:47 +0200
Flxq_ellcard_i: update tuning
8	2	src/basemath/FlxqE.c

9a93917358 | Bill Allombert | Wed, 3 Jun 2026 19:29:37 +0200
58- ellcard(ellinit([ffgen([53,36]),1])) -> wrong result
1	0	CHANGES
6	2	src/test/32/ellff
9	1	src/test/in/ellff

b322fcec44 | Bill Allombert | Wed, 3 Jun 2026 18:33:22 +0200
FqX_Fq_translate: handle FpX_get_red correctly
1	1	src/basemath/polarit3.c

e73648c8fe | Bill Allombert | Wed, 3 Jun 2026 17:26:26 +0200
FqM_mul_Kronecker: handle FpX_get_red correctly
1	1	src/basemath/ZX.c

7c43606540 | Bill Allombert | Wed, 3 Jun 2026 00:01:06 +0200
Rg_to_FpXQ: handle FpX_get_red correctly
3	3	src/basemath/polarit3.c

7fd66d7a75 | Karim Belabas | Tue, 2 Jun 2026 04:51:51 +0200
ZM_lll_norms: cleanup tuning for Flatter use

- move the thre/thsn arrays out of the main function
- rename and simplify get_gaussred (which doesn't return an answer
  in "qfgaussred" format but a geuine Cholesky matrix)
- avoid calling ZM_rank in marginal cases (n <= 2) where it's not needed
42	31	src/basemath/lll.c

fea47f23bd | Karim Belabas | Tue, 2 Jun 2026 01:03:51 +0200
make sure QR_init fails in all cases of precision problems

- would not be the case when k = #M
- now gsisinv can be safely removed: it will never be false when QR_init
  returns 1
5	2	src/basemath/bibli1.c
2	11	src/basemath/lll.c

461adb5976 | Karim Belabas | Tue, 2 Jun 2026 00:50:34 +0200
max_radius: fix optimistic comments and types

- The old mpdiv call was definitely wrong (we could have S[i,j] and B[j]
t_INT), introducing a unintended 'floor'.

- But the new code introduced in 18fc92cfa was too optimistic: it is not
guaranteed that B[i] is a t_REAL for i> 1
4	4	src/basemath/bibli1.c
4	4	src/basemath/nffactor.c

360dbe2a9c | Bill Allombert | Tue, 2 Jun 2026 00:28:16 +0200
Flx_Teichmuller: avoid long division
17	5	src/basemath/Zp.c

d06e5bd6c8 | Bill Allombert | Mon, 1 Jun 2026 21:09:47 +0200
polteichmuller: require explicitly that T is irreducible.
1	0	CHANGES
1	0	src/basemath/Zp.c
4	3	src/functions/polynomials/polteichmuller
6	4	src/test/32/padic
2	2	src/test/in/padic

2c0bcb32d8 | Bill Allombert | Sun, 31 May 2026 17:18:32 +0200
polteichmuller: use faster algorithm for p>7
65	1	src/basemath/Zp.c

606afd63ab | Bill Allombert | Sun, 31 May 2026 14:47:36 +0200
Flxq_lroot_pre: fix c++ warning
2	2	src/basemath/Flx.c

1853707db1 | Bill Allombert | Sun, 31 May 2026 12:09:04 +0200
Fix line break after type
4	2	src/basemath/ispower.c
2	1	src/basemath/mftrace.c
2	1	src/basemath/random.c
28	14	src/language/anal.c
22	11	src/language/es.c
2	2	src/language/hash.c
2	1	src/modules/algebras.c

8f41134c02 | Bill Allombert | Sun, 31 May 2026 12:04:20 +0200
Fix line break after static
12	6	src/basemath/F2xqE.c
4	2	src/basemath/FlxX.c
4	2	src/basemath/FpXX.c
2	1	src/basemath/ellrank.c
2	1	src/basemath/gen2.c
6	3	src/basemath/lfunutils.c
4	2	src/basemath/modsym.c
16	8	src/basemath/nflistQT.c
4	2	src/basemath/quad.c
10	5	src/basemath/trans3.c
6	6	src/kernel/gmp/mp.c
4	4	src/language/es.c
2	1	src/language/eval.c
2	1	src/language/intnum.c
2	1	src/language/parsec.h
6	3	src/language/sumiter.c
11	5	src/modules/algebras.c
2	1	src/modules/elldata.c
2	1	src/modules/thue.c

a5142d7072 | Bill Allombert | Sun, 31 May 2026 11:26:57 +0200
_can5_invl: fix line break
4	2	src/basemath/Zp.c

a4ac0ff2f2 | Bill Allombert | Sun, 31 May 2026 11:16:06 +0200
_can_invl: fix line break
6	6	src/basemath/Zp.c



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