FORTRAN SOFTWARE CATALOG

Repository owner: Brad Richardson (everythingfunctional)

quaff

Physical quantities with type-safe arithmetic and automatic unit conversions.

Repository · Pinned source (f26da3d85404) · Try in playground · Checked package example

GAMS classifications

About this package

Category
Units and quantities
License
MIT

Topics: dimensional-analysis, fortran, physical-units, type-safety, unit-conversion, units-of-measure

Classification scope and review notes

Dimensioned arithmetic and unit conversion retain A/Z. No immediate arithmetic subtype is claimed without reviewing the representation-specific API.

Package dependencies

Resolved GitHub repositories used by the verified playground build, combining direct and indirect dependencies. This list does not describe internal module dependencies or native system libraries.

Required by this build

Build record verified 2026-10-28.

Used by (0 selected packages)

No other selected build records this repository as a dependency. This is not a measure of usage outside the catalog.

Reviewed procedures

These mappings have pinned source evidence. A checked package example may exercise only some of them; source review is not a numerical benchmark.

length_t, time_t arithmetic

Module: quaff

A

A: verified

Derivatives / callbacks: not applicable

Dimension-aware physical quantities and unit conversions; no narrower numerical algorithm is asserted. Dedicated A consumer checks 180 scalar references for signed/zero lengths, five length units, seconds/minutes/hours, arithmetic, absolute values and quantity-array sums. Typed length/time speed and speed*time length agree with independent scalar SI formulas. Other quantity dimensions, parsing, overflow and compile-time rejection of invalid dimensional expressions are not verified.

Pinned source: src/quaff/length_m.f90 · src/quaff/time_m.f90 · src/quaff/speed_m.f90 · src/quaff/interquantity_operators_m.f90

Author examples/tests: test/length_test.f90

Load checked GAMS driver: gams-quaff-quantity-reference