Harmless-Error Analysis