Golang's default float type is float64, but I got two different results for:
1.005 * 100            // 100.5
float64(1.005) * 100   // 100.49
Besides, I got another problem:
var n = 1.005
const m = 1.005
rn := n * n    // 1.01002499
rm := m * m    // 1.010025
t.Log(rn, rm)
Anyone kindly explain it?
 
    