cern-ndiff

Compares files with numerical tolerance for floating-point differences

brewmacoslinux
Try with needOr install directly
Source

About

Numerical diff tool

Commands

ndiff

Examples

Compare two files with default numerical tolerance$ ndiff file1.txt file2.txt
Compare files with custom relative tolerance of 1e-6$ ndiff -r 1e-6 expected.out actual.out
Compare files with absolute tolerance of 0.001$ ndiff -a 0.001 baseline.dat result.dat