Three days later I read an article about the choicecorrect integer size . Before reading this article, I did not know about these three keywords:
correct integer size
1) 8-bit integer with a fixed width unsigned uint8_t. (Typedef - C99 complaints)
uint8_t
2) The minimum width of the unsigned 8-bit integer: uint_least8_t.
uint_least8_t
3) High minimum width of the unsigned 8-bit integer: uint_fast8_t.
uint_fast8_t
So my question is:
1) What exactly do they mean by saying "at least 8 bits wide" for uint_least8_tand uint_fast8_t. For example, let's take a look at a piece of code
for(u16 i=0;i<counter;i++) { Increment_Counter++; }
Here: - u16 means unsigned short. counter and Increment_Counter are two variables
counter =0xFF; Increment_Counter . , counter =0x01FF; ? uint_least8_t ( 8 ) unit16
counter =0xFF
counter =0x01FF
2) uint_fast8_t .
3) uint_least8_t , unsigned char.
, . .
1) , " 8 "
, , , , , , . : " , " - 8 .
, , , , . - , ? , , ? , uint_fast8_t framistan_modules "framistan". 3, , 5.
uint_fast8_t framistan_modules
- . , uint_fast8_t, 8 .
. _fast8_t , ( 8 ). , , fast, .
_fast8_t
fast
, , , , , , , . , , , .