On Wed, 2009-08-12 at 09:14 -0400, Dan Eble wrote: > On 12 Aug 2009, at 00:06, joenee...@gmail.com wrote: > > > In case there is rounding, it is better to check > > if (abs (paper_width - line_width - left_margin - right_margin) > > > 1e-6) > > Wouldn't it be a good idea to define a name for 1e-6?
Probably. slur.cc and skyline.cc define (locally) the variables EPS for this purpose. If you could be bothered, it might be worthwhile to make it a global variable like infinity_f. _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel