??? 04/26/11 09:56 Read: times |
#182053 - Depends what you mean by "bit" ? Responding to: ???'s previous message |
Per Westermark said:
No, _Bool is not a single-bit data type, just as an enum with two values is not a single-bit data type. Well, academically, in terms of information theory, one could say that a 2-valued enum holds only a single "bit" of information. In that sense, a "bit" of information is not equivalent to a "bit" of hardware storage. Maybe that's what Maarten was driving at? However, I very much doubt that was in the OP's mind... |
Topic | Author | Date |
Sbit or Bit decalaration | 01/01/70 00:00 | |
Users Manual | 01/01/70 00:00 | |
RTFM | 01/01/70 00:00 | |
uC51 | 01/01/70 00:00 | |
How to post links | 01/01/70 00:00 | |
Yes, really strange | 01/01/70 00:00 | |
bool | 01/01/70 00:00 | |
Andys statement stands | 01/01/70 00:00 | |
nobody mentioned storage | 01/01/70 00:00 | |
Yes, I did - as did the OP [edited] | 01/01/70 00:00 | |
Two values still != single-bit data type | 01/01/70 00:00 | |
Depends what you mean by "bit" ? | 01/01/70 00:00 | |
controller's pin | 01/01/70 00:00 | |
Why macros? | 01/01/70 00:00 | |
RTFM! | 01/01/70 00:00 | |
Was easy to locate | 01/01/70 00:00 |