lilypond-devel
[Top][All Lists]
Advanced

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

Re: Adds longas, maximas and non-standard tweaks to MultiMeasureRest (is


From: Benkő Pál
Subject: Re: Adds longas, maximas and non-standard tweaks to MultiMeasureRest (issue4536068)
Date: Thu, 28 Jul 2011 14:32:11 +0200

> To be honest, I never understood well how this bitset operator works.

adds trailing zeros in binary.

> What I see is that "2 << -i" gives the same result than "2^(-i+1)".
> I should have write "2 << (-i + 1)" instead of "/2"...

the +1 multiplies by 2, not divides.

perhaps the best would be 1 << -i.

now I'll really take a look at the actual patch...

p



reply via email to

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