Re: \tempo should accept floats

2017-03-28 Thread David Kastrup
Werner LEMBERG writes: >> 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. And what happens to \tempo 2 = #(/ 155 2) ? Or any

Re: \tempo should accept floats

2017-03-28 Thread Werner LEMBERG
> 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. I rather sugggest an extension to have something like \tempo = #'( . ) (or whatever syntax is

Re: \tempo should accept floats

2017-03-28 Thread Simon Albrecht
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

Re: \tempo should accept floats

2017-03-28 Thread Simon Albrecht
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

Re: \tempo should accept floats

2017-03-28 Thread David Kastrup
Urs Liska writes: > Am 28. März 2017 18:41:55 MESZ schrieb David Kastrup : >>This is not how (binary) floating point works. >> >>100.1 may well be 100.09997 or similar. There is absolutely no >>issue with letting LilyPond _accept_ non-integers. But

Re: \tempo should accept floats

2017-03-28 Thread Urs Liska
Am 28. März 2017 18:41:55 MESZ schrieb David Kastrup : >Simon Albrecht writes: > >> Am 28.03.2017 um 17:47 schrieb David Kastrup: >>> Urs Liska writes: >>> As discussion onhttps://github.com/wbsoft/python-ly/pull/90 shows

Re: \tempo should accept floats

2017-03-28 Thread David Kastrup
Simon Albrecht writes: > Am 28.03.2017 um 17:47 schrieb David Kastrup: >> Urs Liska writes: >> >>> As discussion onhttps://github.com/wbsoft/python-ly/pull/90 shows >>> floating point metronome numbers are surely something LilyPond should >>>

Re: \tempo should accept floats

2017-03-28 Thread Simon Albrecht
Am 28.03.2017 um 17:47 schrieb David Kastrup: Urs Liska writes: As discussion onhttps://github.com/wbsoft/python-ly/pull/90 shows floating point metronome numbers are surely something LilyPond should provide. \tempo 4 = 60.0 => error: syntax error, unexpected REAL So

Re: \tempo should accept floats

2017-03-28 Thread Phil Holmes
"Urs Liska" wrote in message news:cc89b397-6b28-9130-e263-8ad4a7a4e...@openlilylib.org... As discussion on https://github.com/wbsoft/python-ly/pull/90 shows floating point metronome numbers are surely something LilyPond should provide. \tempo 8 = 60.0 => error: syntax

Re: \tempo should accept floats

2017-03-28 Thread David Kastrup
Urs Liska writes: > As discussion on https://github.com/wbsoft/python-ly/pull/90 shows > floating point metronome numbers are surely something LilyPond should > provide. > > \tempo 4 = 60.0 > => error: syntax error, unexpected REAL So what do you expect to see here as the