numdiff

Compare files with numeric tolerance for floating-point differences

brewmacoslinux
Try with needOr install directly
Source

About

Putative files comparison tool

Commands

numdiff

Examples

Compare two files with default numeric tolerance$ numdiff file1.txt file2.txt
Compare files with custom absolute tolerance for differences$ numdiff -a 0.001 output1.dat output2.dat
Compare files with relative tolerance for numeric values$ numdiff -r 0.01 result_old.txt result_new.txt