原书出处
Go语言圣经
和符号;当整数大于23bit能表达的范围时,float32的表示将出现误差):
var f float32 = 16777216 // 1 << 24 fmt.Println(f == f+1) // "true"!
浮点数的字面值可以直接写小数部分,像这样: const e = 2.71828
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Go语言圣经/_epub-src/ch3-02.html
EPUB SHA-256:e4f6c1cdfedcb2b3d9ecbbb7f8857396c77229ad34813ab2890657242b173fb3