var dict = [Double: String]() dict[.nan] = "a" dict[.nan] = "b" print(dict) // [.nan: "a", .nan: "b"]
Double