http://codereview.appspot.com/4536068/diff/37002/lily/multi-measure-rest.cc#newcode241
lily/multi-measure-rest.cc:241: length = (2 << -i) / 2;
The division by 2 changes the result.  Not that I understand too well
what it is
supposed to be doing.

To be honest, I never understood well how this bitset operator works.
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"...

Besides this, I would like to remove these ugly "if"s I added yesterday,
but I don't see a better human-readable solution.

Bertrand

http://codereview.appspot.com/4536068/

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

Reply via email to