Bernhard Schmalhofer via RT <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] - Di 19. Okt 2004, 19:49:44]:

>> Is it the intended operation of the 'factorial' program on the Parrot
>> examples page to
>> truncate the results?  Looks like a bug to me...

> I have checked the factorial example on
> http://www.parrotcode.org/examples/pasm.html.

> Starting with 13! incorrect results are indeed returned on my 32bit
> Linux machine.
> Should there a promotion to BigInt be taking place? on an overflow
> indication?

Most of the examples are really old and partially outdated. I think there
should be very few PASM examples, more complex examples should be in
PIR. Regarding the factorial: using .Integer PMCs would fix it.

leo

Reply via email to