The well known program diff is inappropriate for some common tasks such as comparing the output of floating oint calculations where roundoff errors lead diff astray and comparing program source code where some differences in the text (such as white space and comments) have no effect on the operation of the compiled code. Spiff addresses these cases.