Closed fredlllll closed 6 years ago
I asked Arndt for it long time ago, when no even sub was implemented. Perhaps he is afraid of dividing by zero and runtime error.
as its using float the +-inf values could be used for those cases.
just took a look at https://stackoverflow.com/questions/5291606/why-does-1-0-give-error-but-1-0-0-returns-inf and apparently float doesnt throw an exception on div by 0
I have a workaround for now, and Arndt probably has his reasons.
I think this should be reported over on https://github.com/abrensch/brouter/issues if it is needed
;)