lilypond-devel
[Top][All Lists]
Advanced

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

Can we use +nan.0?


From: David Kastrup
Subject: Can we use +nan.0?
Date: Mon, 04 Apr 2011 20:15:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi, I am trying to come up with an alteration value that does not match
"normal" alterations but is neither positive nor negative (since
otherwise a "change" will cause naturals to be printed).

+nan.0 appears fine for that.  But can we rely on it being available on
supported platforms?  I don't find it in the sources of Lilypond, though
there is a C constant for infinity being used in one place, and there is
lots of nan? and the C equivalent in the code.

-- 
David Kastrup




reply via email to

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