diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-23 23:01:18 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-23 23:01:18 +0300 |
| commit | e3978519df6e7ec34627100401805a6bda619f92 (patch) | |
| tree | b2422aa40c1b9ff1e030322c5864cab767811991 /integrationtests | |
| parent | d5278c6d6984cc7dfdd1111d49f4fb385c71a15e (diff) | |
fix: return Cool metric for Cool/non-Cool division
When dividend is Cool (unitless) and divisor has a metric, the result
should be Cool, not the divisor's metric. E.g., 5 / 10km → 0.5 (Cool),
not 0.5km.
Cool-absorbing behavior is designed for addition (5 + 100Mbps → 105Mbps),
but applying it to division would incorrectly treat 5 as 5km, producing
(5*km)/km = 5km instead of the correct 0.5 (dimensionless).
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions
