Is Negative Infinity

Examples Filter
package main

import (
  "fmt"
  "math"
)

func main() {
  posInf := math.Inf(-1)
  fmt.Println(math.IsInf(posInf, -1))
}
Last Run  :
true