Checks the relative error given a tolerance.
The computed value.
The computed error.
The target tolerance.
check_err()