On 2010-12-16, at 10:06 PM, Maxime Chevalier-Boisvert wrote:
I just thought, it would probably make more sense to define Infinity to be the largest magnitude 30 bit integer we can support in both the positive and negative range, so comparisons against infinity still make sense, and so does -Infinity.
Then how about having a specific constant for this, such as
const MAX_FIXNUM = 1073741823;
Otherwise using Infinity is a lie.
Marc