[perl #59336] [BUG] Parrot fails integer comparisons when integers are > 2^31 apart

2008-09-27 Thread Christoph Otto via RT
On Thu Sep 25 14:18:40 2008, julianalbo wrote: > > I suspect the problem is that the integer "greater than" operation > > is performing a subtraction between the two (signed long) values > > being compared, but the result of the subtraction is outside of > > the range of signed longs. > > Correct.

Re: [perl #59336] [BUG] Parrot fails integer comparisons when integers are > 2^31 apart

2008-09-25 Thread NotFound
> I suspect the problem is that the integer "greater than" operation > is performing a subtraction between the two (signed long) values > being compared, but the result of the subtraction is outside of > the range of signed longs. Correct. Fixed in r31419 -- Salu2

[perl #59336] [BUG] Parrot fails integer comparisons when integers are > 2^31 apart

2008-09-25 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #59336] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59336 > Code says it all: $ cat w.pir .sub main $P0 = new 'Integer' $P0 = 2147483