cern-ndiff
« Back to VersTracker
Description:
Numerical diff tool
Type: Formula  |  Latest Version: 5.09.03@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: scientific diff physics comparison numerical
Install: brew install cern-ndiff
About:
cern-ndiff is a numerical diff tool designed to compare files containing floating-point numbers. It handles expected differences in numerical precision, making it ideal for validating scientific and engineering data outputs. The tool is particularly useful in high-energy physics for comparing data files generated by simulation codes.
Key Features:
  • Tolerates floating-point precision differences
  • Configurable absolute and relative error thresholds
  • Supports complex data formats common in physics
  • Command-line interface for scripting and automation
Use Cases:
  • Verifying numerical simulation results in physics research
  • Comparing output data from scientific software versions
  • Validating regression tests for computational models
Alternatives:
  • diff – Standard diff performs strict string comparison and fails on floating-point variations.
  • numdiff – Similar functionality, but cern-ndiff is optimized for HEP data formats.
License: GPL-3.0-only
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit