Precision relative to viewbox or max demical point
Created by: pborunda
Ok I re-thought the problem with precision. @Ede123 I think your right about the zero being arbitrary related to #136 (closed). This is not an attempt to waste your time and sound like I'm repeat myself. Not sure if the scour project is interested in going in this direction. But thought I'd share anyway.
I think the reason that rounding near zero worked well for me was not that 0 is special. Its that the precision operation doesn't account for the dimensions of the svg image viewbox.
If I have a viewbox 100px width 100px height, normally I'm not too concerned with precision like 0.00001. Actually it seems the smallest number i work with is intervals of 0.01. So 100/0.01 = 10000 units. Which looks like 6 significant digits.
Similarly if i have a viewbox 30px by 30px, using the same 10000 units, my smallest signficant interval would be 0.003.
So how does a number like 0.00005 slip by scour, but not 1.00005?
The suggestion is to implement some limiting option like --max-decimal-point, or --precision-relative-to-viewbox, or even implicity limit the max to 10,000/100,000 units the max width/height.