Standard library / math/big
big.ErrNaN
Panic value type for Float operations that would result in NaN; Float does not store NaN. Expected stdout: 'big.ErrNaN\n'.
Formal Syntax & Structure
go syntaxgo
type ErrNaN struct { /* unexported fields */ }Working Example
Example Snippetgo
package main
import ( "fmt" "math/big")
func main() { var e big.ErrNaN fmt.Printf("%T\n", e)}