The difference of int8_t, int_least8_t and int_fast8_t?

前端 未结 5 1527
感情败类
感情败类 2020-11-27 03:07

What is the difference between the int types int8_t, int_least8_t and int_fast8_t?

5条回答
  •  暖寄归人
    2020-11-27 03:53

    These are related to the size of the integer and are just what they sound like.

    int8_t is exactly 8 bits
    int_least8_t is the smallest int type that has at least 8 bits
    int_fast8_t is the fastest int type that has at least 8 bits.
    

提交回复
热议问题