package main import ( "fmt"; "math"; ) func main() { if math.NaN() > 0 { fmt.Println("NaN > 0 is true, should be false.") } if math.NaN() < 0 { fmt.Println("NaN < 0 is true, should be false.") } if math.NaN() == 0 { fmt.Println("NaN == 0 is true, should be false.") } }