units error
Opened this issue · 2 comments
severak commented
1/unit != 1 * unit, it makes no sense
severak commented
this shoul be true:
units.relate(a, b, c) - adds unit relation c = a * b where a = c / b and b = c / a are also valid
unitless = Hz * s where unitless = s / Hz and Hz = s / unitless
severak commented
but this looks correct:
> (turn / (20 * Hz)) ~ s
0.05 s
> (turn / (10 * Hz)) ~ ms
100 ms