[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R shorthand
From: |
David Kastrup |
Subject: |
Re: R shorthand |
Date: |
Wed, 20 Mar 2013 09:55:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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.
--
David Kastrup