Compares files with numerical tolerance for floating-point differences
Numerical diff tool
ndiff
$ ndiff file1.txt file2.txt
$ ndiff -r 1e-6 expected.out actual.out
$ ndiff -a 0.001 baseline.dat result.dat