【内置类型】

  • int      -2147483648~2147483647   //现在编译器的int型是32位的,以前为16位的范围是-32768~32767
  • unsigned  int   0~4294967295
  • long   -2147483648~2147483647
  • unsigned long 0~4294967295
  • long long的最大值:9223372036854775807
  • long long的最小值:-9223372036854775808
  • unsigned long long的最大值:18446744073709551615
  • __int64的最大值:9223372036854775807
  • __int64的最小值:-9223372036854775808
  • unsigned __int64的最大值:18446744073709551615
  • float(32位):精确到小数点后6~7位
  • double(64位):精确到小数点后15~16位

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-03-04
  • 2021-10-20
  • 2022-12-23
  • 2021-10-04
猜你喜欢
  • 2021-10-18
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案