编程中常用精度总结

编程中常用精度总结表

  • 常用的精度有下列几种
char:带符号的字符(8 bits) uchar:不带符号的字符(8 bits)
short:短整数(16 bits) int:整数(通常是 32 bits)
long:长整数(32 或 64 bits) ushort:不带符号的短整数(16 bits)
uint:不带符号的整数(32 bits) ulong:不带符号的长整数(32 或 64 bits)
float: 单精度浮点数(32 bits) double:双精度浮点数(64 bits)

猜你喜欢

转载自blog.csdn.net/qq_36248632/article/details/89394577