minad/unit — Issue #7: ZeroDivisionError when doing normal addition
Author: pivotale20
Created: 2011-11-14 21:51:15+00:00
State: open

```ruby
Unit(1, "m") + Unit(-1, "m") + Unit(1, "m")
# => ZeroDivisionError: divided by 0
```

It happens when an intermediate part of the calculation reaches zero.