check that -1 < log(err) < +1