lilypond-devel
[Top][All Lists]
Advanced

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

Re: Sets TabVoice Stem height to ##f (issue 6303065)


From: mtsolo
Subject: Re: Sets TabVoice Stem height to ##f (issue 6303065)
Date: Tue, 12 Jun 2012 12:39:23 +0000

On 2012/06/12 12:32:37, dak wrote:
http://codereview.appspot.com/6303065/diff/10003/lily/grob.cc
File lily/grob.cc (right):


http://codereview.appspot.com/6303065/diff/10003/lily/grob.cc#newcode472
lily/grob.cc:472: real_ext[d] += offset;
I don't understand this.  The only way to get a nan from adding an
offset to
infinity is by adding another nan or an infinite offset with different
sign.

What case is this supposed to catch?

Sometimes there is an infinite offset (either positive or negative)
which, when added to an empty interval of (+inf.0 . -inf.0), will create
nan (or -nan) in one of the two directions.

http://codereview.appspot.com/6303065/



reply via email to

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