lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 2550 in lilypond: Statements that cannot be ex


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2550 in lilypond: Statements that cannot be executed may be in the code
Date: Wed, 30 May 2012 07:13:46 +0000


Comment #2 on issue 2550 by address@hidden: Statements that cannot be executed may be in the code
http://code.google.com/p/lilypond/issues/detail?id=2550

Regarding fixing the only valid case here:

      if (isnan (val) || isinf (val))
        {
          warning (_ ("Found infinity or nan in output. Substituting 0.0"));
          return ("0.0");
          if (strict_infinity_checking)
            abort ();
        }

This is in a function called by ly:format which is mainly used for formatting arguments to be put into PostScript or SVG, basically output.

I don't know what the rationale is behind providing strict_infinity_checking, and whether it would be desirable to actually enable the conditoinally abort by moving it before the return statement.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]