{"modulePath":"github.com/go-python/gpython","version":"v0.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package math\n\nMath module -- standard C math library functions, pi and e\n\n## Variables\n\n```go\nvar (\n\tEDOM   = py.ExceptionNewf(py.ValueError, \"math domain error\")\n\tERANGE = py.ExceptionNewf(py.OverflowError, \"math range error\")\n)\n```\nIn general, on an IEEE-754 platform the aim is to follow the C99 standard, including Annex 'F', whenever possible.  Where the standard recommends raising the 'divide-by-zero' or 'invalid' floating-point exceptions, Python should raise a ValueError.  Where the standard recommends raising 'overflow', Python should raise an OverflowError.  In all other circumstances a value should be returned.\n\n","path":"github.com/go-python/gpython/stdlib/math","name":"math","synopsis":"Math module -- standard C math library functions, pi and e","isRedistributable":true}
