Find numerical differences between numerical values #1851
Unanswered
phourglass
asked this question in
Q&A
Replies: 1 comment
-
Unfortunately, WinMerge doesn't have ndiff like functionality. I don't know if it will work well with the files you are comparing, but I created and attached a plug-in that converts strings that can be regarded as numbers in text files to single-precision real numbers and compares them. You can copy the IgnoreNumberFormat.sct file in the attached IgnoreNumberFormat.zip to IgnoreNumberFormat.sct is written in VBScript, so please correct it if it doesn't work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I use winmerge to compare relatively large text files which include a lot of numerical values (models).
The format is quite complex but works well for line by line comparison as it has keywords in it besides numerical values.
The files sometimes change due to the software writing them and:
The files are the same or similar from a numerical standpoint but it is tricky to find out when 1E6 lines differ due to rounding.
There are command lines tools that can partially do that but have limitations are are not as nice as winmerge:
https://github.com/quinoacomputing/ndiff
https://www.math.utah.edu/~beebe/software/ndiff/
Is there a way to do that in winmerge?
I saw there are plugins (I am ignorant about it).
Would there be a way to interface such tools as plugins?
Thanks
Philippe
Beta Was this translation helpful? Give feedback.
All reactions