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

Re: porting PARI/GP to arm: problem with modulo

On Wed, 30 May 2001, Bill Allombert wrote:

> I have investigate the second bug of PARI/GP on arm.
> It can be reduced to the file in attachment.
> on arm (at least debussy and rameau) we get
> ./a.out
> x%y=1073741824
> on others arch I have tested (i386,alpha)
> we have
> ./a.out
> x%y=0
> Some of you understand the problem ?

On my arm box with gcc version 3.0 20010527 (prerelease) and
glibc-2.1.3-1nw3 I get:
	[stewart@stewart-nw15 stewart]$ ./f

I would blame gcc.  I'm assuming you are suing 2.95.3 or a variant on
those boxes?  I get the incorrect result on europe.


Reply to: