DennisOSRM/Project-OSRM — pull request #436 by emiltin (2012-09-25 20:00:57+00:00)
Title: dont quantize distance to 10m, use double for summation

a proposed fix for #383

-remove the quantization to nearest 10m. instead rounds to nearest meter.
-use doubles instead of unsigned for internal route segment distances
-use a double for summing the total. current way of summing unsigned ints involves a potential error of 1m for each segment.

as far as i understand, SegmentInformation is used only for returning route results, not for the entire network. if this is correct, the fix should not affect memory use or performance.