PARI/GP

Main
  Download
  Packages
  GP in your browser
  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


ca3b3a3fb | Karim Belabas | Mon, 4 Jul 2022 01:41:45 +0200
obscure bug t_SER z == 1 but z - 1 != 0

z=(Mod(2,17)*v1^-2+O(v1^-1))/(Mod(5,12)*v1^-4+O(v1))
sign(z) was incorrectly set to 1
1	0	src/basemath/gen1.c
3	1	src/test/32/ser
3	1	src/test/in/ser

524472351 | Karim Belabas | Sun, 3 Jul 2022 16:29:14 +0200
hyperellchangecurve: add test [fix SEGC] + improve doc
1	0	doc/refcard-ell.tex
4	4	src/basemath/hyperell.c
8	1	src/functions/elliptic_curves/hyperellchangecurve
7	1	src/test/32/hyperelldisc
2	0	src/test/in/hyperelldisc

8fabeeb2d | Karim Belabas | Sun, 3 Jul 2022 16:09:21 +0200
add / fix sanity checks in hyperellred + improve doc
1	0	doc/refcard-ell.tex
15	17	src/basemath/hyperell.c
20	15	src/functions/elliptic_curves/hyperellred
13	1	src/test/32/hyperelldisc
6	0	src/test/in/hyperelldisc

5667e6b36 | Karim Belabas | Sun, 3 Jul 2022 14:20:21 +0200
RgM_Rg_[add|sub] -> shallow equivalent
1	1	src/basemath/buch2.c
1	1	src/basemath/modsym.c
1	1	src/modules/thue.c

40776d72a | Karim Belabas | Sun, 3 Jul 2022 13:28:22 +0200
stack corruption in RgM_Rg_add and RgM_Rg_sub

Symptom : gerepile error in
\y
default(breakloop,0)
install("gequal1","iG");
install("gequalm1","iG");
install("gequal0","iG");
tstgenall(z)=
{
  if((z==1)!=(iferr(z-1,E,1,errname(E)!="e_BUG")==0),error(z));
  if((z==-1)!=(iferr(z+1,E,1,errname(E)!="e_BUG")==0),error(z));
  if(gequal0(z)!=(iferr(z,E,1,errname(E)!="e_BUG")==0),error(z));
  if(gequal1(z)!=(iferr(z-1,E,1,errname(E)!="e_BUG")==0),error(z));
  if(gequalm1(z)!=(iferr(z+1,E,1,errname(E)!="e_BUG")==0),error(z));
}
V=[Mod(0*v0,Pi*I*v0^0),Mat([Mat(Mod(0,1))])];
for(i=1,2,tstgenall(V[i]))

The extra cgetg would be inspected from higher gerepileupto code and
crash because its components have not been initialized
2	4	src/basemath/RgV.c

aca467eab | Karim Belabas | Sat, 2 Jul 2022 11:58:43 +0200
add modsym tests [#2392]
3	2	src/basemath/modsym.c
19	1	src/test/32/modsym
6	0	src/test/in/modsym

d5a80db6d | Karim Belabas | Sat, 2 Jul 2022 01:11:42 +0200
quadhilbert/quadray are in stark.c, not buch1.c (James Rickards) [#2391]
2	2	src/headers/paridecl.h

5dc7ef6d5 | Karim Belabas | Fri, 1 Jul 2022 20:20:03 +0200
print( Mat([Mat(2)]) ) -> Mat([Mat(2)])

instead of Mat(Mat(2)) [which yields Mat(2)]
2	1	src/language/es.c
5	1	src/test/32/mat
2	0	src/test/in/mat

49cbc6d04 | Karim Belabas | Fri, 1 Jul 2022 18:17:22 +0200
mscuspidal: the Tp matrix is rational, make it integral first
4	2	src/basemath/modsym.c

06852b991 | Karim Belabas | Thu, 30 Jun 2022 16:55:02 +0200
simplify test
7	10	src/test/in/ideal

0e99b549b | Karim Belabas | Thu, 30 Jun 2022 15:53:15 +0200
handle correctly idealchineseinit() structures when RHS has denominators

fix doc: only works when denominators are coprime to modulus in the
'init' case
21	9	src/basemath/base3.c
2	1	src/functions/number_fields/idealchinese
1	1	src/modules/algebras.c
3	1	src/test/32/ideal
11	0	src/test/in/ideal

8a3e72713 | Bill Allombert | Thu, 30 Jun 2022 15:19:44 +0200
Use stack_sprintf instead of stack_malloc + sprintf

Not worth the trouble of estimating the string length
1	3	src/basemath/nflist.c
1	2	src/basemath/nflistQT.c
1	2	src/modules/elldata.c
2	6	src/modules/galois.c
1	2	src/modules/galpol.c

b789d822d | Karim Belabas | Thu, 30 Jun 2022 09:18:06 +0200
div_ser: fix scalarser usage (forbid prec < 0)
2	1	src/basemath/gen1.c

ac4c07a16 | Karim Belabas | Thu, 30 Jun 2022 01:53:59 +0200
serconvol(O(x^-2),O(23)*O(x^-2)) -> crash
4	1	src/basemath/bibli2.c
2	1	src/test/32/ser
1	0	src/test/in/ser

d6e8745b1 | Karim Belabas | Thu, 30 Jun 2022 01:47:41 +0200
 O(v3^-1)/(1+O(23)+I) -> crash
8	4	src/basemath/gen1.c
2	0	src/test/32/ser
2	0	src/test/in/ser

6fee74966 | Karim Belabas | Wed, 29 Jun 2022 18:52:05 +0200
gcharnewprec_i: gcopy -> shallowcopy
2	1	src/basemath/grossenchar.c

0afa0bc03 | Bill Allombert | Wed, 29 Jun 2022 18:22:09 +0200
ratpoints: get_2adic_info: make sure num_bits is initialized
5	2	src/modules/ratpoints.c

e977274df | Karim Belabas | Wed, 29 Jun 2022 16:54:03 +0200
gchar_identify_i: avoid useless gcopy
18	18	src/basemath/grossenchar.c

30537a3b3 | Pascal | Wed, 29 Jun 2022 12:18:57 +0200
test gcharidentify
3	1	src/test/32/gchar
4	0	src/test/in/gchar

8c67726b0 | Pascal | Wed, 29 Jun 2022 12:17:42 +0200
fix gcharidentify, do not change input
1	1	src/basemath/grossenchar.c

c84a606d0 | Bill Allombert | Tue, 28 Jun 2022 21:07:12 +0200
pop_lex: fix memory leak
1	2	CHANGES
1	1	src/language/eval.c

2430f6e9a | Karim Belabas | Tue, 28 Jun 2022 20:37:34 +0200
Fincke_Pohst_ideal: move test for maxtry_ELEMENT in the (!fl) branch

if fl != 0, we are "skipfirst-ing" and not trying an element
1	1	src/basemath/buch2.c

5f365d06a | Karim Belabas | Tue, 28 Jun 2022 19:26:40 +0200
fix comment
1	1	src/test/in/bnf

4388c211a | Karim Belabas | Tue, 28 Jun 2022 19:09:26 +0200
make ldata_eulerf static to lfunutils.c

if a private "fast" variant is needed later, we shall export it again
(and fix the interface; taking an 'ldata' would be ok, an ldata_get_an()
is weird for an exported function with that name)
1	0	src/basemath/lfunutils.c
0	1	src/headers/paridecl.h

1b72fa1a6 | Karim Belabas | Tue, 28 Jun 2022 11:32:58 +0200
off-by-1 error in vecsmall2vec2 [#2390]
4	3	src/basemath/pclgp.c
2	1	src/test/32/subcyclopclgp
1	0	src/test/in/subcyclopclgp

df285e305 | Bill Allombert | Mon, 27 Jun 2022 23:40:29 +0200
parforeach: fix memory leak
1	0	src/language/eval.c

bc5863956 | Karim Belabas | Mon, 27 Jun 2022 18:28:03 +0200
whitespace edits
10	11	src/headers/pariinl.h

a221b924d | Takashi Fukuda | Mon, 27 Jun 2022 17:30:35 +0200
pclgp.c: replace Flx_recip1  by Flx_recip1_inplace

Reduce memory use by two for this example
subcycloiwasawa(x^2-29127,2,19)
45	10	src/basemath/pclgp.c

c95cf9ebd | Aurel Page | Mon, 27 Jun 2022 16:28:21 +0200
algebras [from James Rickards]: fix inefficiency in backtrackfacto
11	1	src/modules/algebras.c
2	1	src/test/32/alghasse
4	1	src/test/in/alghasse

5052e9f43 | Karim Belabas | Sun, 26 Jun 2022 23:01:19 +0200
document rfrac_to_ser_i
1	0	CHANGES
4	0	doc/usersch5.tex

92a5131c1 | Bill Allombert | Sun, 26 Jun 2022 18:47:27 +0200
pari.f90: add example of garbage collecting
25	6	examples/pari.f90

6bab747bc | Bill Allombert | Sun, 26 Jun 2022 18:47:27 +0200
New libpari function get_avma

Useful for languages that does not provide access to TLS variables
3	0	doc/usersch5.tex
1	0	src/headers/paridecl.h
2	0	src/kernel/none/level1.h

a6017bb34 | Karim Belabas | Fri, 24 Jun 2022 21:54:51 +0200
cleanup mfgaloisprojrep / search_A5
15	17	src/basemath/mftrace.c
2	0	src/basemath/nflist.c

3db7d7998 | Karim Belabas | Fri, 24 Jun 2022 18:43:20 +0200
kill warning
1	1	src/basemath/nflist.c

c17dd74cd | Karim Belabas | Fri, 24 Jun 2022 15:58:19 +0200
improve doc
3	2	src/functions/elliptic_curves/ellL1
4	2	src/functions/elliptic_curves/ellanalyticrank



PARI/GP Development
Last Modified: 2016-03-22 20:34:27
Copyleft © 2003-2021 the PARI group.