PDA

View Full Version : How can this be?


FrankLu99
02-08-2005, 12:30 AM
10 * 10 + 10 + 10 == 1000

is it because 10 * 10 == 100; 10 + 10 == 100?

multiplying by 8 without using +/-/mult/div is easy using <<
how do you multiply by 7 w/o +/-/mult/div?

gaming_mouse
02-08-2005, 03:59 AM
[ QUOTE ]
10 * 10 + 10 + 10 == 1000


[/ QUOTE ]

I don't how you got this. Try pasting it into google. The answer is 120, as you would expect.

gm

SumZero
02-08-2005, 05:16 AM
What is that silly "2" thing in 120? It confuses my poor brain that only knows the digits 1 and 0. /images/graemlins/smile.gif

Next thing you know you'll probably want to introduce me to a crazy "8" digit and claim that
2 * 2 + 2 + 2 = 8.

gaming_mouse
02-08-2005, 05:39 AM
Oh, I see. You really should have mentioned you were doing binary arithmetic. Who are you hanging out with that this is the assumed base for calculations?

10 = 2
1000 = 8

10*10=4

your original calculation reduces to:

2*2+2+2 = 8

i sense i may still be missing drift. like you wanted some trick internal computer way to do this??

jason_t
02-08-2005, 07:16 AM
Binary.

FrankLu99
02-09-2005, 01:52 PM
correct. How do u multiply by 7 without using the add, subtract, multiply and divide functions?

turbo the man
02-09-2005, 04:39 PM
try using your accumulator
clear acc
acc base
<< base
acc base
<< base
acc base
<< base
acc base
viola, your accumulator is now 7 times what base was originally.

lightw1thoutheat
02-10-2005, 01:36 AM
why do comp sci majors confuse halloween and christmas
because oct 31=dec 25

im sorry