The reasons for non-trivial behaviour of numerical integration error in the line-by-line computation of atmospheric gas average transmittance and emission in the IR are examined. An adaptive numerical integration technique is reported that allows a reliable computation termination criterion to be formulated.