ndiff
« Back to VersTracker
Description:
Virtual package provided by nmap
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: comparison numeric-analysis testing utility
Install: brew install ndiff
About:
Ndiff is a utility that compares two files of numeric data, reporting any differences found. It is particularly useful for verifying the accuracy of scientific or numerical computations where output may vary slightly due to floating-point precision. The tool is provided as part of the nmap security scanner distribution to validate its own test results.
Key Features:
  • Compares numeric data in text files
  • Configurable tolerance for floating-point comparisons
  • Reports line numbers and values of discrepancies
Use Cases:
  • Validating numerical output from scientific simulations
  • Verifying test suite results for nmap
Alternatives:
  • diff – Standard Unix tool for general text comparison, but lacks numeric-aware floating point tolerance
  • numdiff – Similar purpose, but supports more complex numeric formats and units
Version History
Detected Version Rev Change Commit
Sep 16, 2025 4:49pm 0 VERSION_BUMP cb87a3ee