From: ptkwt@... (Phil Tomson) Date: 2005-05-05T03:49:50+09:00 Subject: Re: Fixnum's binary representation In article , Mark Hubbart wrote: >On 5/4/05, camsight@gmail.com wrote: >> Thanks, Robert! >> >> > For which numbers do you have problems? I don't see any so far >> >> I mean... >> If Bignum#[] is made to simulate 32-bit signed integers, it can't show >> numbers with more than 32-bit representation. >> Well, positive numbers will be okay. >> But what about negative numbers? >> When can I expect the sign bit? >> I assume that numbers beyond 32-bit are not suitable for Bignum#[]. >> Do you agree? > >IIUC, it's not precisely a "sign bit"; it's more like an entire >bit-flip. -1 is zero, bit-flipped. It's 2's complement, isn't it? Phil