[LAU] Need some programming help.
willgodfrey at musically.me.uk
Thu Nov 21 19:22:31 UTC 2013
On Tue, 19 Nov 2013 12:58:29 +0100
Tito Latini <tito.01beta at gmail.com> wrote:
> You could try the follow command
> cc -o precision_test -lm precision_test.c
Thank you both for your suggestions. I tried that bit of code, but as I rather
expected it behaved perfectly.
The problem seems to be that, for some reason FLTKs 'step' command is being
ignored. Not only is it failing to round the values but it is also failing to
truncate them. I even tried replacing the calculated value with a simple
integer - loads of trailing zeros after the decimal point.
Yoshi is derived from Zyn, and the section of code that sends values to FLTK
for display is identical, yet Zyn doesn't show this problem. I can only guess
there is some difference in the way yoshi links to FLTK but can't imagine what
Will J Godfrey
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
More information about the Linux-audio-user