Documentation ¶
Overview ¶
Example (Nan64) ¶
nan := math.NaN() fmt.Printf("0 < NaN: %t\n", 0 < nan) fmt.Printf("0 > NaN: %t\n", 0 > nan) fmt.Printf("nan isNan(): %t\n", math.IsNaN(nan)) tmp := 3.14 + nan fmt.Println("tmp := 3.14 + nan") fmt.Printf("tmp isNan(): %t\n", math.IsNaN(tmp)) fmt.Printf("tmp == nan : %t\n", tmp == nan)
Output: 0 < NaN: false 0 > NaN: false nan isNan(): true tmp := 3.14 + nan tmp isNan(): true tmp == nan : false
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.