develooper Front page | perl.perl6.internals | Postings from September 2005

[perl #31980] Factorial example gives incorrect result

Thread Next
Bernhard Schmalhofer via RT
September 8, 2005 13:43
[perl #31980] Factorial example gives incorrect result
Message ID:
> [ - 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

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

/* */

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About