Am 20.03.2013 09:55, schrieb David Kastrup:
Jan-Peter Voigt <jp.vo...@gmx.de> 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.



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to