News for hackers. Stuff that matters.
Re:Strange multiplication behavior in Guile Scheme interpreter by TwistedWave on Thursday January 24, 2013 @03:26AM (#5108353)
It boils down to:

> (* 4294967296 4294967296)

$1 = 0

My guess is that guile uses the native int type to store small numbers, and then switches to a bignums, backed by GNU MP when the native ints are too small. Maybe in that particular case, the check fails, and the computation overflows the native int.

Re:Strange multiplication behavior in Guile Scheme interpreter by alpb on Thursday January 24, 2013 @03:39AM (#5108410)
Then why 2^488 works correctly but nothing in 2^(64..487) ?