### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »

# Floating point error handling

## Setting and getting error handling

`seterr` ([all, divide, over, ...]) | Set how floating-point errors are handled.
`geterr` () | Get the current way of handling floating-point errors.
`seterrcall` (func) | Set the floating-point error callback function or log object.
`geterrcall` () | Return the current callback function used on floating-point errors.
`errstate` | with errstate(**state): –> operations in following block use given state.

## Internal functions

`seterrobj` (errobj) | Used internally by seterr.
`geterrobj` () | Used internally by geterr.

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »