This is documentation for an old release of NumPy (version 1.3.). Read 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”.

Previous topic

numpy.seterr

Next topic

numpy.seterrcall

This Page

Quick search