I think the term you want is 'rounding'. If you have enough internal precision then rounding will get you want you want.
Perhaps we should switch to doubles everywhere? memory is cheap, javascript means that double performance is already core to most of the world.
njh
On Thu, Sep 11, 2014 at 07:50:18AM -0700, LucaDC wrote:
Just a clarification: I used the term "precision" in the sense of preserving the user input, that is his intention in generating his document. It's not a matter of how many digits after the dot Inkscape is able to crunch but just the ability to store 10 as "10" and not as "9.99999999999". Of course it could happen that the user inputs 7,05 and, due to internal binary float representation, it becomes 7,049999999 but this is another issue that should be fixed by other means (e.g. specifying a 2 digits precision in the output file: try this now!). Let's say that, at least, I expect all input integers to be stored as integers in the file.
Regards Luca
-- View this message in context: http://inkscape.13.x6.nabble.com/Units-in-Inkscape-tp4971507p4971513.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.cl... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel