| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: [C] (Thanks)An interesting question |
From: Jerry Coffin
At 12:12 AM 1/21/2004, you wrote:
>Hi Jerry! :-)
>
> JC> There are compilers, especially on DSPs, where char is 16 bits. The
> JC> reason is pretty simple: some DSPs aren't really built to deal with
> JC> anything smaller than that.
>I stand corrected, at least on the "bigger than 8 bits" count. ;)
It can't be fewer than 8 bits -- the standard requires that the range of
signed char being at least -127 to +127, and unsigned char at least 0 to
255 (and plain char match one of the other two). You can't do that in
fewer than 8 bits.
Later,
Jerry.
--- BBBS/LiI v4.01 Flag-5
* Origin: Prism's_Point (1:261/38.1)SEEN-BY: 633/267 270 @PATH: 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.