> Probably Dan will be able to say more about this; I just want to give a maybe [more] concise data point:

Ugh, it seems HTML formatting messed my code up, sorry.

Another try:

\version "2.22"

music = {}

#(define ZERO (ly:music-length music))

#(pretty-print (equal? ZERO ZERO-MOMENT))
#(pretty-print (ly:moment-div ZERO ZERO-MOMENT))
#(pretty-print (ly:moment-div ZERO ZERO))
#(pretty-print (ly:moment-div ZERO-MOMENT ZERO))
#(pretty-print (ly:moment-div ZERO-MOMENT ZERO-MOMENT))

yields with 2.22.1:

#t
#<Mom 0>
#<Mom 0>
#<Mom 0>
#<Mom 0>

and with 2.26.0:

#t
#<Mom infinityGinfinity>
#<Mom 0>
#<Mom 0>
#<Mom nanGinfinity>

Lukas


Reply via email to