JuliaLang/julia — pull request #8272 by ivarne (2014-09-08 10:48:47+00:00)
Title: Specialice sum(r::FloatRange)

FloatRange stores a divisor for increased accuracy, and we should use
that in `sum` to get a more correct answer there also.

Obviously I don't like the one liner used for the general `sum(r::Range)` implementation, because I find it hard to read. I'll compactify/obfuscate this also, if there is demand for that.