Forums - Open Redstone Engineers
From addition to multiplication? - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: From addition to multiplication? (/thread-3124.html)

Pages: 1 2 3 4 5 6


From addition to multiplication? - David - 04-15-2014

Is there a way to write a+b without using addition? I mean something like
"a \cdot \frac{a+b}{a}" (Use dis: click).
But there still is an addition sign in there. I'm not sure if you think I'm nuts or something but I was bored, like, reaaaaaaally bored and I just wondered that.

Also, not sure if this is the right subforum, but this seemed like the most logical place. Y'know, math and all.


RE: From addition to multiplication? - greatgamer34 - 04-15-2014

Yeah dummy, do this A-(-B)
Theres your addition!!!


RE: From addition to multiplication? - David - 04-15-2014

(04-15-2014, 03:57 PM)greatgamer34 Wrote: Yeah dummy, do this A-(-B)
Theres your addition!!!

Well, no shit. I was really looking for multiplication.


RE: From addition to multiplication? - greatgamer34 - 04-15-2014

so a multiplication program would use shift and subtract negative, which is the same as shift and add.


RE: From addition to multiplication? - David - 04-15-2014

(04-15-2014, 05:39 PM)greatgamer34 Wrote: so a multiplication program would use shift and subtract negative, which is the same as shift and add.

Yeah, true. But I'm wondering if you can do it without addition or subtraction.


RE: From addition to multiplication? - Iceglade - 04-15-2014

...why?


RE: From addition to multiplication? - David - 04-15-2014

(04-15-2014, 07:51 PM)Iceglade Wrote: ...why?

Can you imagine how bored I was?


RE: From addition to multiplication? - Iceglade - 04-15-2014

Hehe :p I don't THINK it's possible, (unless you wanted to define other operators or use matrices or what-not), but... maybe I'm wrong.


RE: From addition to multiplication? - David - 04-15-2014

(04-15-2014, 08:45 PM)Iceglade Wrote: Hehe :p I don't THINK it's possible, (unless you wanted to define other operators or use matrices or what-not), but... maybe I'm wrong.

Yeah, I don't think it's possible either. But I could always give it a shot.


RE: From addition to multiplication? - greatgamer34 - 04-15-2014

im sure you could use some trickery with factorials to get it to work Tongue