Patrick McCarty <[email protected]> writes:

>> 3) I'd like to change this...
>>
>>     mm = 1.0
>>     in = 25.4
>>     pt = #(/ in 72.27)
>>     cm = #(* 10 mm)
>>
>>   ...to this...
>>
>>     mm = #1.0
>>     cm = #(* 10 mm)
>>     in = #(* 25.4 mm)
>>     pt = #(/ in 72.27)
>>
>>   Would that be better?
>

Wouldn't
pt = #(/ (* 2540 mm) 7227)
have smaller absolute error?  The current definition of pt has to round
25.4 to the nearest presentable number, 72.27 to the nearest presentable
number, and then round the result of the division again.

-- 
David Kastrup


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to