Page 2 of 2

Re: how to get a fraction in blue

Posted: Sun Sep 15, 2013 9:53 pm
by tester
Thanks, both of you. :-)

Re: how to get a fraction in blue

Posted: Sun Sep 15, 2013 11:35 pm
by Morph
Optimized for mono:

Code: Select all

monoin in;monoout out;
float F1=1;
fld F1[0];
fld in[0];fprem;
fstp out[0];

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 12:18 am
by tester
Question - what causes this error? Run audio, delete the asm box and you see what I mean. Bringing back the asm brings back the error.

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 12:26 am
by Morph
Missing FSTP st (0);

So this will fix it:

Code: Select all

monoin in;monoout out;
float F1=1;
fld F1[0];
fld in[0];fprem;
fstp out[0];
fstp st(0);

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 12:54 am
by tester
Thanks for fix.

BTW, nice to see new faces (at least according to amount of posts up to date) in asm/code area.

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 12:59 am
by Morph

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 1:02 am
by tester
Well, well - Mo! :-) What a nice surprise. I thought most folks were automatically migrated from there to here. I still remember my first sliders made with you. ;-) Now I'm doing these things with eyes closed, but the beginnings were tough.

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 1:11 am
by Mo
Yep, have two accounts I think.

Now I remain Mo. :)

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 11:21 am
by tester
Recognizable choice Mo. :-)

Re: how to get a fraction in blue

Posted: Tue Sep 17, 2013 4:48 pm
by RJHollins
We need MO !
:lol:

Good to see you here ! :D