সম্পাদনা
package main import ( "fmt" "math" ) func main() { fmt.Println(math.IsInf(math.Inf(1), 0)) fmt.Println(math.IsInf(10, 0)) }
পূর্বরূপ