AndydeMaro ·
Hello Please Help me
I have a question to Combined multiplier-Add.
I have in CodeModule this Code:
streamin A; streamin B; streamin C; streamout out;
out = A * B + C;
this is OK or BadCode ??????
de Andy
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
AndydeMaro ·
Hello Please Help me
I have a question to Combined multiplier-Add.
I have in CodeModule this Code:
streamin A; streamin B; streamin C; streamout out;
out = A * B + C;
this is OK or BadCode ??????
de Andy
stefan ·
It's OK 🙂
Why do you ask? Anything gone wrong?
AndydeMaro ·
stefan wrote: It's OK 🙂
Why do you ask? Anything gone wrong?
Thanks stefan for the Replay, I was not sure it Is right
de Andy
exonerate ·
just to point out with multiplies and additions you can do them in any order and the result will be the same, so you could have wrote it like....
streamin A; streamin B; streamin C; streamout out;
out = C * B + A;
or any combination for that matter and you would get the same result.
cheers 😉
AndydeMaro ·
exonerate wrote: just to point out with multiplies and additions you can do them in any order and the result will be the same, so you could have wrote it like....
streamin A; streamin B; streamin C; streamout out;
out = C * B + A;
or any combination for that matter and you would get the same result.
cheers 😉
Thanks for the Infomation, has Idea for my Unsion detunner Problem of my Post..?????????
gregh ·
how is c*b+a = a*b+c ? very strange for me
exonerate ·
sorry i didn't think before posting, which is a usual occurance for me 🙂
what i mean to write was (B*A)+C or C+(A*B) or C+(B*A)
like i said i didn't think but that was the point i was trying to make, you can multiply and add in any order, but obviously you have to keep the addition seperate from the multiplies.
i will screw my head on one of these days 😉
cheers 😉
gregh ·
that's a relief - i was thinking i'd have to learn some strange new non-distributive maths 🙂
exonerate ·
😀 😉
Wrote something here? To have a post removed or your name hidden, write to [email protected].