View Single Post
2012-10-28, 05:13   #6
CRGreathouse

Aug 2006

3×1,993 Posts

Quote:
 Originally Posted by jcrombie Another problem is the casts: Code:  j=(GEN)100000; k=(GEN)200000; You are assigning integers into pointers here. I really don't know much about pari, but the proper coding techniques are to be found in the "libpari.dvi" documentation. Cheers

Ah, good catch -- I was just looking at the code that gp2c generated. Those should be
Code:
j = utoipos(100000);
k = utoipos(200000);