[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lilypond-auto] Issue 2550 in lilypond: Statements that cannot be ex
Re: [Lilypond-auto] Issue 2550 in lilypond: Statements that cannot be executed may be in the code
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
Regarding fixing the only valid case here:
if (isnan (val) || isinf (val))
warning (_ ("Found infinity or nan in output. Substituting 0.0"));
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.