This is documentation for an old release of NumPy (version 1.3.). Read this page Search for this page in the documentation of the latest stable release (version > 1.17).
numpy.geterr
-
numpy.geterr()
Get the current way of handling floating-point errors.
Returns a dictionary with entries “divide”, “over”, “under”, and
“invalid”, whose values are from the strings
“ignore”, “print”, “log”, “warn”, “raise”, and “call”.