In running (factorial 50)

(define (factorial n) (if (< n 2) 1 (* n (factorial (- n 1)))))

I found that Chicken Scheme's result differed from Petite Chez, Kawa and 
Gambit.  The former gave

3.04140932017134e+064

and the latter 3 gave

30414093201713378043612608166064768844377641568960512000000000000

Why the difference?


Steve

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to