Bill Allombert on Tue, 16 Nov 1999 21:47:20 +0100 (MET)


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

Re: Turning a sequence of expr into expr


I made the computation on a 333MHz Ultrasparc II with 2Mb of cache

? ploth(t=100,110,[real(z=zeta(0.5+I*t)),imag(z)])
  ***   last result computed in 19,340 ms.
?  ploth(t=100, 110, if (1, z=zeta(0.5+I*t); [real(z),imag(z)]) )
  ***   last result computed in 19,360 ms.
? f(t)=local(z);z=zeta(0.5+I*t);[real(z),imag(z)]
? ploth(t=100,110,f(t))
  ***   last result computed in 19,400 ms.           

So Karim, if you want to resale your very slow machine , call me :-)

more seriously, with the just now CVS version I get

cd Osolaris-sparcv9; make gp
make[1]: Entering directory `/home/sadir/allomber/stable/pari/Osolaris-sparcv9'
/home/sadir/allomber/bin/gcc -c -O2 -DGCC_INLINE  -mv8  -I. -I../src/headers -I../src/language -I/usr/local/include -o gp.o ../src/gp/gp.c
In file included from ../src/headers/pari.h:81,
                 from ../src/gp/gp.c:7:
pariinl.h:279: parse error before `0x00800000L'
../src/gp/gp.c: In function `do_time':
../src/gp/gp.c:1783: warning: `s' might be used uninitialized in this function
../src/gp/gp.c: In function `gp_main_loop':
../src/gp/gp.c:1984: warning: variable `promptbuf' might be clobbered by `longjmp' or `vfork'
../src/gp/gp.c:1985: warning: variable `z' might be clobbered by `longjmp' or `vfork'
make[1]: *** [gp.o] Error 1
make[1]: Leaving directory `/home/sadir/allomber/stable/pari/Osolaris-sparcv9'
make: *** [gp] Error 2
zsh: exit 2     make gp
when I try to compile

The bug is that evalexpo is was? a macro ((0x00800000L)  + ( ulong x ))
and now it is a function but the macro has not been removed of parigen.h
there is another problem : evalexpoerr not declared

Bill.