Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4761)

Issue 6435046: Let ly:make-moment accept rationals for main and grace timing (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by dak
Modified:
11 years, 9 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Let ly:make-moment accept rationals for main and grace timing For compatibility reasons, it remains possible to write two numbers specifying numerator and denominator instead of the rationals. These forms cannot be mixed, and the two-argument form is disambiguated by the sign of the second argument: if it is positive, it can only be a denominator and not a grace timing. As a separate commit (touching separate files): Create ly_is_rational predicate that allows exact rationals and infinities

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -17 lines) Patch
M lily/include/lily-guile.hh View 1 chunk +1 line, -0 lines 0 comments Download
M lily/lily-guile.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M lily/moment-scheme.cc View 1 chunk +34 lines, -14 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b