[metapost] precision of division
Clement.Hurlin at sophia.inria.fr
Thu Oct 12 09:04:46 CEST 2006
> Does what make sense?
I was just wondering if my suppositions about the loss of precision was right.
> Here is what I would do. Assuming that you really want the points
> q[$] := point $*length pt/i of pt;
> I would save those times instead of the points:
> t[$] := $*length pt/i;
> then if I need to fill a wedge, I would write:
> fill p3-- subpath(t[$],t[$+1]) of p --cycle;
This works, thanks.
More information about the metapost