Maximum Differential Non Linearity (DNL) : DNL = Max( | (Vout(i+1) - Vout(i)) - Videal LSB step | )
Maximum Integral Non Linearity (INL): INL = max0<=c<=cmax |Vout[c]-Vout[0]-c.m| where m = (Vout[cmax]-Vout[0])/cmax is the slope of the line through the end points