Go语言中的map[math.NaN()] 最近在研究 Go 语言的 map 数据结构时发现的一个关于math.NaN()和map联动的现象 func main() { m := make(map[float64]string) m[math.NaN()]