028 quantity neg sub

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

3e0|m^1 s^0 kg^0 A^0 K^0 mol^0 cd^0|-
-5e0|m^1 s^-1 kg^0 A^0 K^0 mol^0 cd^0|5e-1
dim-mismatch

Expected output

3e0|m^1 s^0 kg^0 A^0 K^0 mol^0 cd^0|-
-5e0|m^1 s^-1 kg^0 A^0 K^0 mol^0 cd^0|5e-1
dim-mismatch

Flows

flow ~lit click a branch to expand · @labels scroll to their anchor
lit (source: 5 m)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (source: 5+-0.5 m/s)
flow ~lit click a branch to expand · @labels scroll to their anchor
lit (source: 5 m)

Test Configuration

MUST_RUN