Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2000 14:19:23 +0000 (GMT)
From:      Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
To:        Tom Embt <tom@embt.com>
Cc:        cjclark@home.com, chat@freebsd.org
Subject:   Re: I will never trust NBC news again!
Message-ID:  <Pine.BSF.4.21.0001061418190.66464-100000@dogma.freebsd-uk.eu.org>
In-Reply-To: <3.0.3.32.20000106081108.015a8e68@mail.embt.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>BTW, I *think* it would be 2^31-1 not 2^31.  For example, doesn't a char
>store values from -128 to 127 ?

Only if it's treated as a signed value.  If it is unsigned, then the extra
bit can be used for value storage.

signed int: -128 127
unsigned:   0    255

-=> jm <=-





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001061418190.66464-100000>