printfn / fend

Arbitrary-precision unit-aware calculator
https://printfn.github.io/fend
MIT License
587 stars 50 forks source link

Temperature divided by distance should be either invalid, or should have the unit of "°F/m", but not "°F lightyears" #272

Closed yurivict closed 4 months ago

yurivict commented 4 months ago

This produces bogus units:

> (100 °C to °F) / 1 lightyear
212 °F lightyears

Here is another bogus result:

> 1 meter / 1 lightyear
9460730472580800 meters^2
printfn commented 4 months ago

This relates to #76, you can work around it by adding parentheses: (100 °C to °F) / (1 lightyear)

printfn commented 4 months ago

closing as duplicate of #76