[comp.sys.ibm.pc] IBM PC XScheme numbers representation?

laba-4ic@WEB.berkeley.edu (byron c go) (07/23/90)

I got XScheme for the PC today and am relatively pleased with the following
exception...

>(fib 9)
2432
>(fib 10)
-8448

(where fib is defined as (lambda (x) (if (= x 1) 1 (* x (fib (-1+ x))))))

it would seem that there is some kind of overflow error going on here.
does anybody know of a patch to the source code that fixes this?  perhaps
a change in the representation of integers?

thanks,

     byron

-----
byron c go	byron@QAL.berkeley.edu		laba-4ic@web.berkeley.edu
ab econ '92	 ...!ucbvax!QAL!byron		 ...!ucbvax!web!laba-4ic
"Help... I've become the anti-Dan_Kogai!  (I've started writing Scheme code
 and translating it to C for my programming projects!)"		- me