dfkt.net
ǰλãҳ >> 64λϵͳ long int >>

64λϵͳ long int

64λϵͳ£intΪ֮ǰļݣռ4ֽ32λlongչ8ֽ64λ ߲ͬ 1 ռռ䲻ͬһ֮ǰѾ˵ˣ 2 ﷶΧͬ ռռ䲻ͬlongԱʾķΧΪ int ΧΪ-2147483648~2147483647...

ڵIJϵͳ16λϵͳ intöֽڱʾΧ-32768~32767 long4ֽڱʾΧ-2147483648~2147483647 չ32λϵͳ int 4ֽڱʾlongͬ ĿǰIJϵͳѷչ64λϵͳ빤յIJͬ...

ͬıݲͬ 64 λģͬ Visual C++ӵһ֧ 64 λİ汾һֱʹ LLP64 ڴģͣҲ˵Ĵ longlong ָ 64 λint 32 λ䡣 ´õ #include int ...

longlong֧ʮ´Լ19λ ҪǿԴµ long long Ϊ64λͣһlong longΪ64λڸԭ򣬵һλΪλ63λáȡֵΧΪ-2^632^63-1 ȡ2^10Լ1000һ㣬Ϊ9x10^18ô...

㶮intͰɣint ڴռֽ Χ-32768~32767 long longڴռ˸ֽڣ Χ-922337203685775808~922337203685775807 long long intбֵ֧ģЩ֧͵ģ֧֣Ҳģ֧֣...

ʵintֳߵĿûбȻϵ ı뻷#include Ȼlimits.h ܿ͵ķΧ õTI 28035DSPchar16λ

ڵIJϵͳ16λϵͳ intöֽڱʾΧ-32768~32767 long4ֽڱʾΧ-2147483648~2147483647 չ32λϵͳ int 4ֽڱʾlongͬ ĿǰIJϵͳѷչ64λϵͳ빤յIJͬ...

64λϵͳ,longһ8ֽڣҪ飡ϵͳ gdb p sizeof(long) ֪

£ ռڴ泤ȲͬȡֵΧͬ 32λϵͳlong4ֽ32λint4ֽ32λ 64λϵͳlong8ֽ64λint4ֽ32λ

intlongΪͣȡֵΧλֱءnλĻλʾλʣµn-1λԲʽʾֵ˷Χ[-2^(n-1),2^(n-1)) intlongûȷλƽ̨أһȷsizeof(i...

վҳ | վͼ
All rights reserved Powered by www.dfkt.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com