Is Not a Number

Returns whether float x is an IEEE 754 “not-a-number” value.

Examples Filter
package main

import (
  "fmt"
  "math"
)

func main() {
  fmt.Println(math.IsNaN(math.Log(-1.0)))
}