Get Not a Number in Go

Posted by yhuang
Public (Editable by Users)
Go
Edit
package main

import (
  "fmt"
  "math"
)

func main() {
  not_a_number := math.NaN()
  fmt.Println(not_a_number)
}