unitshave
Unitshave is a conceptual framework and open-source project that aims to standardize the handling of units and quantities in software systems. It provides a lightweight, language-agnostic specification for representing numeric values paired with their units, and enforces dimensional consistency across computations. The goal is to reduce errors caused by unit mismatches and to improve the interoperability of data exchanged between services, simulations, and scientific workflows.
Core concepts include a Quantity type that couples a numeric value with one or more units (for
Design emphasizes safety and extensibility. Some implementations compile unit information into types to catch errors at
Applications span scientific computing, engineering, and data integration, where precise unit tracking improves correctness and auditability.
See also: dimensional analysis, Boost.Units, F# Units of Measure.