defends against libraries (such as ruby-units) which override division yielding non-zero values for fractions like 1/2
Merge pull request #795 from keithmgould/master

Use `#div` instead of `/` in case it's overridden by mathr or others.