[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can we use +nan.0?
From: |
Han-Wen Nienhuys |
Subject: |
Re: Can we use +nan.0? |
Date: |
Mon, 4 Apr 2011 23:16:34 -0300 |
On Mon, Apr 4, 2011 at 3:15 PM, David Kastrup <address@hidden> wrote:
>
> 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
It sounds a bit fishy especially since alterations are normally
rational numbers. Why not use a non-number value to signify this?
Maybe #f ?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen