1.變數宣告 必須是在program一開始
2.精確度
integer
4bytes(32bits):-231231 =>-2*1092*109
2bytes(16bits):-215215 =>-3*1043*104
real
雙精8bytes:10(-308)10308 ,but 有效位數15 => a=0.02=2D-2
單精4bytes:10(-38)1038 ,but 有效位數6 => a=0.02=aE-2
complex
雙精8bytes
單精4bytes
3.
整數運算 3+2/4=3
實數運算 3.0+2.0/4.0=3.5
文章標籤
全站熱搜
