C单片机数据类型

C语言数据类型

关键字 位数 表示范围 stdint关键字 ST关键字
unsigned char 8 0 ~ 255 uint8_t u8
char 8 -128 ~ 127 int8_t s8
unsigned short 16 0 ~ 65535 uint16_t u16
short 16 -32768 ~ 32767 int16_t s16
unsigned int 32 0 ~ 4294967295 uint32_t u32
int 32 -2147483648 ~ 2147483647 int32_t s32
unsigned long 32 0 ~ 4294967295
long 32 -2147483648 ~ 2147483647
unsigned long long 64 0 ~ (2^64)-1 uint64_t
long long 64 -(2^64)/2 ~ (2^64)/2-1 int64_t
float 32 -3.4e38 ~ 3.4e38
double 64 -1.7e308 ~ 1.7e308

相关推荐

  1. C语言数据类型

    2023-12-27 17:00:03       60 阅读
  2. c++数据类型解释

    2023-12-27 17:00:03       45 阅读
  3. C++——数据类型笔记

    2023-12-27 17:00:03       44 阅读
  4. C++数据类型

    2023-12-27 17:00:03       34 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2023-12-27 17:00:03       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2023-12-27 17:00:03       100 阅读
  3. 在Django里面运行非项目文件

    2023-12-27 17:00:03       82 阅读
  4. Python语言-面向对象

    2023-12-27 17:00:03       91 阅读

热门阅读

  1. Python实现音乐推荐系统

    2023-12-27 17:00:03       45 阅读
  2. python异常之assert语句

    2023-12-27 17:00:03       74 阅读
  3. MongoDB 根据 _id 获取记录的创建时间并回填记录中

    2023-12-27 17:00:03       51 阅读
  4. Jtti 香港服务器使用RAID技术的优势

    2023-12-27 17:00:03       54 阅读
  5. Python爬虫如何处理页面中的相对链接

    2023-12-27 17:00:03       63 阅读