[Top][All Lists]

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

Re: \tempo should accept floats

From: Simon Albrecht
Subject: Re: \tempo should accept floats
Date: Tue, 28 Mar 2017 19:37:10 +0200

Am 28.03.2017 um 18:41 schrieb David Kastrup:
So I’d consider it
sensible to additionally allow_only_  numbers in the form \tempo 4 =
123.45…  (there should be no point in restricting the number of
‘post-point digits’) (sorry, I’m not familiar with English
mathematical terminology)
This is not how (binary) floating point works.

100.1 may well be 100.0999999999997 or similar.  There is absolutely no
issue with letting LilyPond_accept_  non-integers.  But I don't see a
plan how it could or should then go about formatting them.

Sorry I can’t comment on techniques of implementation, but for user’s sake we should allow input like
\tempo 2 = 86.83
and have Lily output exactly that number, as it was input.

Adapting this to a ‘locale’ or ‘output language’ would be a different issue: ideally, if it is specified as german,
\tempo 4 = 92.01
would be printed with 92,01 as the number. But LilyPond doesn’t have such a feature anyway (cf. <https://sourceforge.net/p/testlilyissues/issues/4337/>…), so that need not be considered right now, does it?

reply via email to

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