类型 | 范围 |
int | (-2^31~2^31-1) (-2,147,483,648~2,147,483,647) 大概范围(2e9) |
unsigned int | (0~2^32-1) (0~4,294,967,295) 大概范围(4e9) |
long long | (-2^63~2^63-1) (-9,223,372,036,854,775,808,9,223,372,036,854,775,807) 大概范围(9e18) |
unsigned long long | (0~2^64-1) (0~18,446,744,073,709,551,615) 大概范围(1e19) |
__int128 | (-2^127~2^127-1) 大概范围(1e38) |
unsigned __int128 | (0~2^128) 大概范围(3e38) |
double | (2.22507e-308)~(1.79769e+308) |