math.NaN() Function in Golang With Examples
Go language provides inbuilt support for basic constants and mathematical functions to perform operations on the numbers with the help of the math package. You get an IEEE 754 “not-a-number” value with the help of NaN() function provided by the math package. So, you need to add a math package in your program with the help of the import keyword to access the NaN() function.
func NaN() float64
Given value is not a not-a-number