Describe the bug
Commit 4e328bf has a regression that went unnoticed where returned values for unit conversions involving hammer units are larger than expected due to using a conversion of 1u = 1in instead of 1u = 0.75in.
How to reproduce the bug
assert( toUnit("mph",100) * 4/3 == 100 / 17.6 )
On versions before 4e328bf, this assert would not fail.
On versions after 4e328bf, this assert would fail.
Describe the bug
Commit 4e328bf has a regression that went unnoticed where returned values for unit conversions involving hammer units are larger than expected due to using a conversion of 1u = 1in instead of 1u = 0.75in.
How to reproduce the bug
assert( toUnit("mph",100) * 4/3 == 100 / 17.6 )On versions before 4e328bf, this assert would not fail.
On versions after 4e328bf, this assert would fail.