Bill Allombert on Wed, 19 Dec 2001 14:28:08 +0100


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

GP2C 0.0.0pl9 released


  Hello,
  
  I just released GP2C 0.0.0pl9, the GP to C translator.
  
  You can download it at 
  ftp://megrez.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-0.0.0pl9.tar.gz
  
  This version come with the script gp2c-run that allows to compile a script
  and add it to a new GP session automatically.
 
An example of use:

gp2c-run pari/examples/squfof.gp -g
...
parisize = 4000000, primelimit = 500000
? #
   timer = 1 (on)
? squfof(659916208620849919)
[4527]
[4527, 28339]
[4527, 28339, 1050]
i = 89806
Qfb(530703369, 714439652, -1003027747, 0.E-28)
time = 1,180 ms.
%1 = 739165177
? kill(squfof)
time = 0 ms.
? \r pari/examples/squfof.gp
time = 0 ms.
? squfof(659916208620849919)
[4527]
[4527, 28339]
[4527, 28339, 1050]
i = 89806
Qfb(530703369, 714439652, -1003027747, 0.E-28)
time = 10,820 ms.
%2 = 739165177

It shows that the compiled version run 9 times faster.

This version understand "install" commands, and has a more secure
stack handling.
  
Enjoy!
  
Bill.