lilypond-devel
[Top][All Lists]
Advanced

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

Re: R shorthand


From: Jan-Peter Voigt
Subject: Re: R shorthand
Date: Wed, 20 Mar 2013 10:05:47 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

Am 20.03.2013 09:55, schrieb David Kastrup:
Jan-Peter Voigt <address@hidden> writes:

[...]

       (ly:make-duration (inexact->exact (/ (log den)(log 2))) ...
That's a terribly broken thing to do.  inexact->exact does not change
the value one bit, only its interpretation.  A number considered to be
_approximated_ by integer*2^power is now considered to be _exactly_
integer*2^power.  Try using ly:intlog2 instead.

Thank you. I wasn't aware of this function, when I created my little helper snippets.





reply via email to

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