Yep...that's what I said.... signed int loses a bit... I mentioned it
because I believe Declude probably uses signed ints, since there can be
positive or negative weighting...but you make a good point that if you're
using it for bitmasking, then you could probably use the full bitspace.

But the real question still remains of whether 2 or 4-byte ints are used.

Darin.


----- Original Message ----- 
From: "Pete McNeil" <[EMAIL PROTECTED]>
To: "Darin Cox" <[EMAIL PROTECTED]>
Sent: Friday, November 05, 2004 10:38 AM
Subject: Re[2]: [Declude.JunkMail] ANN: SPAMC32 (SpamAssassin SPAMC for
Declude) 0.5.57 released


On Friday, November 5, 2004, 8:51:04 AM, Darin wrote:

DC> Also, I don't know for sure whether Scott or Pete  use
DC> unsigned 4-byte ints for the weights. Scott actually probably
DC> uses  signed ints, so you lose half of the bits...and if the
DC> weight is a 2-byte signed  int then the number of available bits
DC> drops to 15.

Actually, a signed int only loses a single bit, and only if you don't
want to allow the negative numbers --- so in reality all of the bits
in a bitmask type result _should_ be available -- that might be 32 or
16 as you point out. Most likely it's 32 bits since that's the default
these days.

_M



---
[This E-mail was scanned for viruses by Declude Virus
(http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

---
[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)]

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to