Thomas Morley <[email protected]> writes:

> Am So., 2. Juni 2019 um 17:26 Uhr schrieb <[email protected]>:
>>

> many thinks for your detailed explanations.
>
> First I translated your
>>  total height = thickness + blot / cos(atan(slope))
> into guile, making for:
> (+ thick (/ blot (cos (atan slope))))
>
> Though, guile has sometimes problems with trigonemetric procedures if
> the angle gets close to multiples of PI/4. I was beaten by this
> problem before.

So don't use them.

cos(atan(slope)) = 1 / sqrt (1 + slope^2)

-- 
David Kastrup

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

Reply via email to